diff options
| author | Greg Roach <fisharebest@webtrees.net> | 2019-12-03 17:27:16 +0000 |
|---|---|---|
| committer | Greg Roach <fisharebest@webtrees.net> | 2019-12-03 17:40:14 +0000 |
| commit | 69100c6d2f376ba137a90d02f7e41a8ae5929352 (patch) | |
| tree | 7143c8b819a3c76e79673f5c6faf7edf9faa8269 /.travis.yml | |
| parent | 2039a786b3bc8c594218efc913a5c3e973328c15 (diff) | |
| download | webtrees-69100c6d2f376ba137a90d02f7e41a8ae5929352.tar.gz webtrees-69100c6d2f376ba137a90d02f7e41a8ae5929352.tar.bz2 webtrees-69100c6d2f376ba137a90d02f7e41a8ae5929352.zip | |
Test against PHP 7.4
Diffstat (limited to '.travis.yml')
| -rw-r--r-- | .travis.yml | 29 |
1 files changed, 15 insertions, 14 deletions
diff --git a/.travis.yml b/.travis.yml index 6c8fd5f793..a477685e6e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,8 +10,9 @@ php: - 7.1 - 7.2 - 7.3 - - 7.4snapshot - - nightly + - 7.4 +# doctrine/dbal isn't working with PHP 8.0 builds yet. +# - nightly ## Non-sudo environments are faster sudo: false @@ -22,14 +23,14 @@ cache: - vendor - $HOME/.composer/cache -# 7.4snapshot does not currently have ext-gd - but we don't need it for our tests +# 7.4 does not currently have ext-gd and ext-zip - but we don't need them for our tests install: - curl -s http://getcomposer.org/installer | php - - if [ $TRAVIS_PHP_VERSION = nightly ]; then php composer.phar install --ignore-platform-reqs; fi - - if [ $TRAVIS_PHP_VERSION = 7.4snapshot ]; then php composer.phar install --ignore-platform-reqs; fi - - if [ $TRAVIS_PHP_VERSION = 7.3 ]; then php composer.phar install; fi - - if [ $TRAVIS_PHP_VERSION = 7.2 ]; then php composer.phar install; fi - - if [ $TRAVIS_PHP_VERSION = 7.1 ]; then php composer.phar install; fi + - if [ $TRAVIS_PHP_VERSION = nightly ]; then php composer.phar install --ignore-platform-reqs; fi + - if [ $TRAVIS_PHP_VERSION = 7.4 ]; then php composer.phar install --ignore-platform-reqs; fi + - if [ $TRAVIS_PHP_VERSION = 7.3 ]; then php composer.phar install; fi + - if [ $TRAVIS_PHP_VERSION = 7.2 ]; then php composer.phar install; fi + - if [ $TRAVIS_PHP_VERSION = 7.1 ]; then php composer.phar install; fi before_script: - travis_retry composer config github-oauth.github.com "${GITHUB_OAUTH_TOKEN}" @@ -37,11 +38,11 @@ before_script: # Coverage testing is slow, so only do it once. script: - - if [ $TRAVIS_PHP_VERSION = nightly ]; then vendor/bin/phpunit -c phpunit.xml.dist; fi - - if [ $TRAVIS_PHP_VERSION = 7.4snapshot ]; then vendor/bin/phpunit -c phpunit.xml.dist; fi - - if [ $TRAVIS_PHP_VERSION = 7.3 ]; then vendor/bin/phpunit -c phpunit.xml.dist --coverage-clover tests/clover.xml; fi - - if [ $TRAVIS_PHP_VERSION = 7.2 ]; then vendor/bin/phpunit -c phpunit.xml.dist; fi - - if [ $TRAVIS_PHP_VERSION = 7.1 ]; then vendor/bin/phpunit -c phpunit.xml.dist; fi + - if [ $TRAVIS_PHP_VERSION = nightly ]; then vendor/bin/phpunit -c phpunit.xml.dist; fi + - if [ $TRAVIS_PHP_VERSION = 7.4 ]; then vendor/bin/phpunit -c phpunit.xml.dist --coverage-clover tests/clover.xml; fi + - if [ $TRAVIS_PHP_VERSION = 7.3 ]; then vendor/bin/phpunit -c phpunit.xml.dist; fi + - if [ $TRAVIS_PHP_VERSION = 7.2 ]; then vendor/bin/phpunit -c phpunit.xml.dist; fi + - if [ $TRAVIS_PHP_VERSION = 7.1 ]; then vendor/bin/phpunit -c phpunit.xml.dist; fi after_script: - - if [ $TRAVIS_PHP_VERSION = 7.3 ]; then travis_retry php vendor/bin/php-coveralls -v; fi + - if [ $TRAVIS_PHP_VERSION = 7.4 ]; then travis_retry php vendor/bin/php-coveralls -v; fi |
