matrix:
include:
# jobs for each supported php version
+ - language: php
+ php: nightly # PHP 8.0
- language: php
php: 7.4
- language: php
install:
# install/update composer and php dependencies
- - composer update --ignore-platform-reqs
+ - if [[ $TRAVIS_PHP_VERSION == "nightly" ]]; then export TRAVIS_PHP_VERSION="8.0.0"; fi
+ - composer config --unset platform && composer config platform.php $TRAVIS_PHP_VERSION
+ - composer update
before_script:
- PATH=${PATH//:\.\/node_modules\/\.bin/}