Skip to content

Commit

Permalink
Travis tests on PHP 8
Browse files Browse the repository at this point in the history
  • Loading branch information
BenMorel committed Sep 9, 2020
1 parent f6a752b commit ff2ade2
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ php:
- 7.2
- 7.3
# 7.4 is included in the matrix below, as base version for smoke testing
- nightly

env:
- CALCULATOR=GMP
Expand All @@ -18,9 +19,14 @@ env:

before_script:
- |
if [ "x$COVERAGE" != "xyes" ]; then
if [ $COVERAGE != "yes" ] && [ $TRAVIS_PHP_VERSION != "nightly" ]; then
phpenv config-rm xdebug.ini
fi
- |
if [ $TRAVIS_PHP_VERSION == "nightly" ]; then
# phpunit & php-coveralls are not compatible with PHP 8 yet
composer config platform.php 7.4.0
fi
- composer install

script:
Expand Down

0 comments on commit ff2ade2

Please sign in to comment.