Skip to content

Commit 9628b0c

Browse files
jrfnlgrogy
authored andcommitted
Travis: run the tests on PHP 8/nightly
Now 12 has been merged, let's start running the tests on PHP 8.0 to see what needs fixing.
1 parent 7c7953d commit 9628b0c

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.travis.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,25 @@ matrix:
1212
- php: 7.2
1313
- php: 7.3
1414
- php: 7.4
15+
- php: "nightly"
16+
17+
allow_failures:
18+
# Allow failures for unstable builds.
19+
- php: "nightly"
1520

1621
cache:
1722
directories:
1823
- vendor
1924
- $HOME/.composer/cache
2025

2126
install:
22-
- composer install --no-interaction
27+
- |
28+
if [[ $TRAVIS_PHP_VERSION == "nightly" ]]; then
29+
# Not all dependencies allow for installing on PHP 8 yet, so ignore platform requirements.
30+
composer install --no-interaction --ignore-platform-reqs
31+
else
32+
composer install --no-interaction
33+
fi
2334
2435
script:
2536
- ./vendor/bin/parallel-lint --exclude vendor .

0 commit comments

Comments
 (0)