Skip to content

Commit

Permalink
Fix PHPUnit version requirement to avoid ugly hack in Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
danhunsaker committed Feb 17, 2016
1 parent f04b4f8 commit db321b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ matrix:
- php: hhvm
install:
- if [[ "$(phpenv version-name)" != "hhvm" ]]; then echo 'error_reporting = E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED' >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini; fi
- composer install $(ver="$(phpenv version-name)"; if [[ "${ver:0:3}" == "5.5" || "${ver:0:3}" == "5.4" ]]; then echo '--ignore-platform-reqs'; fi)
- composer install
script:
- php vendor/bin/behat --config=.travis-behat.yml
- php vendor/bin/phpspec run -v --config=.travis-phpspec.yml
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"behat/behat": "^3.0",
"henrikbjorn/phpspec-code-coverage": "^2.0",
"phpspec/phpspec": "^2.4",
"phpunit/phpunit": "^5.0",
"phpunit/phpunit": "^4.0|^5.0",
"rmiller/behat-spec": "^0.3"
},
"autoload": {
Expand Down

0 comments on commit db321b5

Please # to comment.