summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@webtrees.net>2019-12-07 15:07:43 +0000
committerGreg Roach <fisharebest@webtrees.net>2019-12-08 15:38:06 +0000
commitfd9d58aa9fa48816fe1fb44053e6b94534b77046 (patch)
treeff2fb3ed088ea8bde548aaa54f54efb1089380c0 /.travis.yml
parentafc4f177693ebb9aea03f46cf9490214d0275c80 (diff)
downloadwebtrees-fd9d58aa9fa48816fe1fb44053e6b94534b77046.tar.gz
webtrees-fd9d58aa9fa48816fe1fb44053e6b94534b77046.tar.bz2
webtrees-fd9d58aa9fa48816fe1fb44053e6b94534b77046.zip
Update .travis.yml
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml20
1 files changed, 4 insertions, 16 deletions
diff --git a/.travis.yml b/.travis.yml
index a477685e6e..67889de022 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,11 +1,5 @@
language: php
-## Currently required for 7.4snapshot and nightly
-addons:
- apt:
- packages:
- - libonig-dev
-
php:
- 7.1
- 7.2
@@ -26,23 +20,17 @@ cache:
# 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.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
+ - travis_retry composer install --ignore-platform-reqs
before_script:
- travis_retry composer config github-oauth.github.com "${GITHUB_OAUTH_TOKEN}"
- - echo "${TRAVIS_PHP_VERSION}"
# 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.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.4 ]; 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
after_script:
- - if [ $TRAVIS_PHP_VERSION = 7.4 ]; then travis_retry php vendor/bin/php-coveralls -v; fi
+ - if [ $TRAVIS_PHP_VERSION = 7.3 ]; then travis_retry php vendor/bin/php-coveralls -v; fi