Skip to content

Commit

Permalink
Merge pull request #286 from intuit/fix-travis-build
Browse files Browse the repository at this point in the history
Update travis to be compatible with PHP version 7.1
  • Loading branch information
bsivalingam authored Feb 18, 2020
2 parents ff1e4a9 + 07d06ca commit 1dd150a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ php:
- 7.1
- 7.2
before_install:
- if [[ $TRAVIS_PHP_VERSION == 7.1* ]]; then composer require phpunit/phpunit:~7.5.9; else composer self-update;fi
- composer self-update
before_script:
- composer install
script:
- phpunit --configuration phpunit.xml
- vendor/bin/phpunit --configuration phpunit.xml
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"ext-dom": "*"
},
"require-dev": {
"phpunit/phpunit": "^5.7"
"phpunit/phpunit": "^5.0 || ^6.0 || ^7.0"
},
"autoload": {
"psr-4": {
Expand Down

0 comments on commit 1dd150a

Please sign in to comment.