diff options
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index 35649e2a..5f86d338 100644 --- a/.travis.yml +++ b/.travis.yml | |||
@@ -5,6 +5,9 @@ matrix: | |||
5 | # jobs for each supported php version | 5 | # jobs for each supported php version |
6 | - language: php | 6 | - language: php |
7 | php: nightly # PHP 8.0 | 7 | php: nightly # PHP 8.0 |
8 | install: | ||
9 | - composer self-update --2 | ||
10 | - composer update --ignore-platform-req=php | ||
8 | - language: php | 11 | - language: php |
9 | php: 7.4 | 12 | php: 7.4 |
10 | - language: php | 13 | - language: php |
@@ -45,7 +48,6 @@ cache: | |||
45 | 48 | ||
46 | install: | 49 | install: |
47 | # install/update composer and php dependencies | 50 | # install/update composer and php dependencies |
48 | - if [[ $TRAVIS_PHP_VERSION == "nightly" ]]; then export TRAVIS_PHP_VERSION="8.0.0"; fi | ||
49 | - composer config --unset platform && composer config platform.php $TRAVIS_PHP_VERSION | 51 | - composer config --unset platform && composer config platform.php $TRAVIS_PHP_VERSION |
50 | - composer update | 52 | - composer update |
51 | 53 | ||