diff options
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/.travis.yml b/.travis.yml index 7a7c9056..07d66f88 100644 --- a/.travis.yml +++ b/.travis.yml | |||
@@ -43,17 +43,8 @@ before_script: | |||
43 | - if [ -n "$GH_TOKEN" ]; then composer config github-oauth.github.com ${GH_TOKEN}; fi; | 43 | - if [ -n "$GH_TOKEN" ]; then composer config github-oauth.github.com ${GH_TOKEN}; fi; |
44 | # disable xdebug since we don't use code-coverage for now | 44 | # disable xdebug since we don't use code-coverage for now |
45 | - if [[ $TRAVIS_PHP_VERSION != '5.6' && $TRAVIS_PHP_VERSION != 'hhvm' && $TRAVIS_PHP_VERSION != '7.0' ]]; then phpenv config-rm xdebug.ini; fi | 45 | - if [[ $TRAVIS_PHP_VERSION != '5.6' && $TRAVIS_PHP_VERSION != 'hhvm' && $TRAVIS_PHP_VERSION != '7.0' ]]; then phpenv config-rm xdebug.ini; fi |
46 | # build coverage only on one build, to speed up results feedbacks | ||
47 | # - if [[ "$TRAVIS_PHP_VERSION" = "5.6" ]]; then PHPUNIT_FLAGS="--coverage-clover=coverage.clover"; else PHPUNIT_FLAGS=""; fi; | ||
48 | - if [[ "$DB" = "pgsql" ]]; then psql -c 'create database wallabag;' -U postgres; fi; | 46 | - if [[ "$DB" = "pgsql" ]]; then psql -c 'create database wallabag;' -U postgres; fi; |
49 | 47 | ||
50 | script: | 48 | script: |
51 | - ant prepare-$DB | 49 | - ant prepare-$DB |
52 | - SYMFONY_DEPRECATIONS_HELPER=weak bin/phpunit -v | 50 | - bin/phpunit -v |
53 | |||
54 | # after_script: | ||
55 | # - | | ||
56 | # if [ $TRAVIS_PHP_VERSION = '5.6' ]; then | ||
57 | # wget https://scrutinizer-ci.com/ocular.phar | ||
58 | # php ocular.phar code-coverage:upload --format=php-clover coverage.clover | ||
59 | # fi | ||