Skip to content

Commit dc1cf3c

Browse files
committed
update travis.yml
1 parent 2d0fdc2 commit dc1cf3c

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Diff for: .travis.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ php:
77
- 7.0
88
- 7.1
99
- 7.2
10+
- 7.3
11+
- 7.4
1012
- hhvm-3.24
1113
- hhvm
1214
- hhvm-nightly
@@ -22,7 +24,10 @@ before_script:
2224
- |
2325
echo "TRAVIS_PHP_VERSION:" $TRAVIS_PHP_VERSION;
2426
php -v;
25-
php -r 'echo PHP_VERSION;';
27+
php -r 'echo "PHP: ".PHP_VERSION."\n";';
2628
if [ ${TRAVIS_PHP_VERSION:0:4} == "hhvm" ]; then
2729
curl -sSfL -o ~/.phpenv/versions/hhvm/bin/phpunit https://phar.phpunit.de/phpunit-5.7.phar;
30+
elif [ $(echo "$TRAVIS_PHP_VERSION >= 7.2" | bc -l) -eq 1 ]; then
31+
echo using PHPUnit 7.5.2
32+
curl -sSfL -o ~/.phpenv/versions/$TRAVIS_PHP_VERSION/bin/phpunit https://phar.phpunit.de/phpunit-7.5.2.phar;
2833
fi

0 commit comments

Comments
 (0)