Skip to content

Commit fe9458b

Browse files
committed
Fixed .travis.yml
1 parent 99f0ae8 commit fe9458b

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

.travis.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,25 @@ php:
99

1010
matrix:
1111
fast_finish: true
12-
allow_failures:
13-
- php: nightly
12+
include:
13+
- php: 8.0
14+
env: PHPUNIT_VERSION="9"
15+
- php: 7.4
16+
env: PHPUNIT_VERSION=""
17+
- php: 7.3
18+
env: PHPUNIT_VERSION=""
19+
- php: 7.2
20+
env: PHPUNIT_VERSION=""
21+
- php: 7.1
22+
env: PHPUNIT_VERSION=""
1423

1524
services:
1625
- mysql
1726

1827
install:
1928
- |
2029
# Install PHPUnit v9 on PHP 8
21-
if [ "${TRAVIS_PHP_VERSION}" == nightly ] || [ dpkg --compare-versions "${TRAVIS_PHP_VERSION}" ge 8.0 ]; then
30+
if [ "${PHPUNIT_VERSION}" == "9" ]; then
2231
travis_retry composer require --no-interaction --prefer-dist --dev --ignore-platform-reqs "phpunit/phpunit" 9.*
2332
# Enable test on PHP 7.1+
2433
else

0 commit comments

Comments
 (0)