diff options
| author | Greg Roach <fisharebest@webtrees.net> | 2019-02-26 12:35:10 +0000 |
|---|---|---|
| committer | Greg Roach <fisharebest@webtrees.net> | 2019-02-26 12:35:10 +0000 |
| commit | e0d0b8e12c8dfd4e0cc4d21cd6c444267ba3c8d6 (patch) | |
| tree | 058f04a9c415f28e3f8874686a55518932de1f8a /.travis.yml | |
| parent | 0ecdbde6aab590acff4665ec491a8427f5b7c90e (diff) | |
| download | webtrees-e0d0b8e12c8dfd4e0cc4d21cd6c444267ba3c8d6.tar.gz webtrees-e0d0b8e12c8dfd4e0cc4d21cd6c444267ba3c8d6.tar.bz2 webtrees-e0d0b8e12c8dfd4e0cc4d21cd6c444267ba3c8d6.zip | |
Travis
Diffstat (limited to '.travis.yml')
| -rw-r--r-- | .travis.yml | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/.travis.yml b/.travis.yml index af7929b96e..b4fb02f98e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,8 +18,9 @@ cache: install: - curl -s http://getcomposer.org/installer | php - - pecl install ast - - php composer.phar install --dev --no-interaction + - # 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 before_script: - travis_retry composer config github-oauth.github.com "${GITHUB_OAUTH_TOKEN}" @@ -27,9 +28,9 @@ before_script: script: - mkdir -p build/logs - - vendor/bin/phpunit -c phpunit.xml.dist --coverage-clover tests/clover.xml - - vendor/bin/pahout --php-version=7.1.3 --ignore-paths=data --ignore-paths=vendor - - vendor/bin/phpcf --exclude=vendor . + - # 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 after_script: - travis_retry php vendor/bin/php-coveralls -v |
