Skip to content

Commit 1dd150a

Browse files
authored
Merge pull request #286 from intuit/fix-travis-build
Update travis to be compatible with PHP version 7.1
2 parents ff1e4a9 + 07d06ca commit 1dd150a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.travis.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ php:
44
- 7.1
55
- 7.2
66
before_install:
7-
- if [[ $TRAVIS_PHP_VERSION == 7.1* ]]; then composer require phpunit/phpunit:~7.5.9; else composer self-update;fi
7+
- composer self-update
88
before_script:
99
- composer install
1010
script:
11-
- phpunit --configuration phpunit.xml
11+
- vendor/bin/phpunit --configuration phpunit.xml

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"ext-dom": "*"
1111
},
1212
"require-dev": {
13-
"phpunit/phpunit": "^5.7"
13+
"phpunit/phpunit": "^5.0 || ^6.0 || ^7.0"
1414
},
1515
"autoload": {
1616
"psr-4": {

0 commit comments

Comments
 (0)