Skip to content

Commit

Permalink
Support PHPUnit 7, build with lowest and highest dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Feb 2, 2018
1 parent 669990e commit 852411f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,13 @@ php:
- 7.0
- 7.1
- 7.2
env:
- dependencies=lowest
- dependencies=highest
before_script:
- composer self-update
- composer install
- if [ "$dependencies" = "lowest" ]; then composer update --prefer-lowest --no-interaction; fi;
- if [ "$dependencies" = "highest" ]; then composer update --no-interaction; fi;
script:
- vendor/bin/phing
after_script:
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"require": {
"php": "~7.0",
"phpstan/phpstan": "^0.9.1",
"phpunit/phpunit": "^6.3"
"phpunit/phpunit": "^6.3 || ~7.0"
},
"require-dev": {
"consistence/coding-standard": "^2.0",
Expand Down

0 comments on commit 852411f

Please sign in to comment.