diff options
| author | Greg Roach <fisharebest@webtrees.net> | 2019-03-15 12:51:18 +0000 |
|---|---|---|
| committer | Greg Roach <fisharebest@webtrees.net> | 2019-03-15 12:51:18 +0000 |
| commit | ad99affd085bba876161427db69e2becd96c116d (patch) | |
| tree | 53f6f7260e87ebb3a6c1ea68ec1e180eebb343ca /.travis.yml | |
| parent | 5fc23fd0a8cb6c91352a6e3897d0fc7b6b24fdbc (diff) | |
| download | webtrees-ad99affd085bba876161427db69e2becd96c116d.tar.gz webtrees-ad99affd085bba876161427db69e2becd96c116d.tar.bz2 webtrees-ad99affd085bba876161427db69e2becd96c116d.zip | |
Update travis configuration
Diffstat (limited to '.travis.yml')
| -rw-r--r-- | .travis.yml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml index b4fb02f98e..08207ed723 100644 --- a/.travis.yml +++ b/.travis.yml @@ -19,8 +19,8 @@ cache: install: - curl -s http://getcomposer.org/installer | php - # 7.4snapshot does not currently have ext-gd - but we don't need it for our tests - - if [ $(phpenv version-name) > 7.3 ]; then php composer.phar install --no-interaction --ignore-platform-reqs; fi - - if [ $(phpenv version-name) <= 7.3 ]; then php composer.phar install --no-interaction; fi + - if [ ${TRAVIS_PHP_VERSION:0:3} > 7.2 ]; then php composer.phar install --no-interaction --ignore-platform-reqs; fi + - if [ ${TRAVIS_PHP_VERSION:0:3} < 7.3 ]; then php composer.phar install --no-interaction; fi before_script: - travis_retry composer config github-oauth.github.com "${GITHUB_OAUTH_TOKEN}" @@ -29,8 +29,8 @@ before_script: script: - mkdir -p build/logs - # nightly and 7.4snapshot do not currently have ext-xdebug, which is needed for coverage testing - - if [ $(phpenv version-name) > 7.3 ]; then vendor/bin/phpunit -c phpunit.xml.dist; fi - - if [ $(phpenv version-name) <= 7.3 ]; then vendor/bin/phpunit -c phpunit.xml.dist --coverage-clover tests/clover.xml; fi + - if [ ${TRAVIS_PHP_VERSION:0:3} > 7.2 ]; then vendor/bin/phpunit -c phpunit.xml.dist; fi + - if [ ${TRAVIS_PHP_VERSION:0:3} < 7.3 ]; then vendor/bin/phpunit -c phpunit.xml.dist --coverage-clover tests/clover.xml; fi after_script: - travis_retry php vendor/bin/php-coveralls -v |
