make travis use phpunit < 6 to avoid failing builds for PHP 7, see: https://github.com/travis-ci/travis-ci/issues/7226#issuecomment-285852088

This commit is contained in:
El RIDO 2017-03-12 14:38:49 +01:00
parent 81b00dd422
commit 651e38acbe
No known key found for this signature in database
GPG Key ID: 0F5C940A6BD81F92
2 changed files with 3 additions and 2 deletions

View File

@ -9,7 +9,7 @@ before_script:
- composer install -n
script:
- cd tst && phpunit
- cd tst && ../vendor/bin/phpunit
after_script:
- cd ..

View File

@ -24,7 +24,8 @@
},
"require-dev": {
"codacy/coverage": "dev-master",
"codeclimate/php-test-reporter": "dev-master"
"codeclimate/php-test-reporter": "dev-master",
"phpunit/phpunit": "^4.6 || ^5.0"
},
"autoload": {
"psr-4": {