diff options
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 |
