X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=.travis.yml;h=4542fdcb6edd3cd00d112500dbe5644b738081e3;hb=fc031e5706acf89ff21f22ca8004ddc7f9b43089;hp=f78c2b1569b04c0ff8c3a1164e569b849732e6f2;hpb=03fb6fde5f02c4fce49fbe20ed384e693b805a0a;p=github%2Fwallabag%2Fwallabag.git diff --git a/.travis.yml b/.travis.yml index f78c2b15..4542fdcb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,6 +3,12 @@ language: php # faster builds on docker-container setup sudo: false +# used for HHVM +addons: + apt: + packages: + - tidy + # cache vendor dirs cache: directories: @@ -10,7 +16,6 @@ cache: - $HOME/.composer/cache php: - - 5.4 - 5.5 - 5.6 - 7.0 @@ -34,19 +39,18 @@ branches: only: - v2 -install: - - composer self-update - before_script: + - composer self-update + - if [ -n "$GH_TOKEN" ]; then composer config github-oauth.github.com ${GH_TOKEN}; fi; # disable xdebug since we don't use code-coverage for now - - phpenv config-rm xdebug.ini + - if [[ $TRAVIS_PHP_VERSION != '5.6' && $TRAVIS_PHP_VERSION != 'hhvm' && $TRAVIS_PHP_VERSION != '7.0' ]]; then phpenv config-rm xdebug.ini; fi # build coverage only on one build, to speed up results feedbacks # - if [[ "$TRAVIS_PHP_VERSION" = "5.6" ]]; then PHPUNIT_FLAGS="--coverage-clover=coverage.clover"; else PHPUNIT_FLAGS=""; fi; - if [[ "$DB" = "pgsql" ]]; then psql -c 'create database wallabag;' -U postgres; fi; script: - ant prepare-$DB - - bin/phpunit --exclude-group command-doctrine -v + - SYMFONY_DEPRECATIONS_HELPER=weak bin/phpunit -v # after_script: # - |