matrix:
include:
# jobs for each supported php version
+ - language: php
+ php: nightly # PHP 8.0
- language: php
php: 7.4
- language: php
php: 7.1
# jobs for frontend builds
- language: node_js
- node_js: 8
+ node_js: 10
cache:
yarn: true
directories:
install:
# install/update composer and php dependencies
- - composer install --prefer-dist
+ - 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/}