]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
Disable coverage
authorJeremy Benoist <jeremy.benoist@gmail.com>
Sat, 30 May 2015 11:31:54 +0000 (13:31 +0200)
committerJeremy Benoist <jeremy.benoist@gmail.com>
Sat, 30 May 2015 11:31:54 +0000 (13:31 +0200)
It takes ages to process and most of the time the build fail for "execution time" too long.
Too much time already burned to investigate it.
We'll investigate later, it's not a priority atm.

.travis.yml

index e31b19055308d7997fe620f50fd8b3d635a34f9f..8d0cf8170f15a6064d079d789d73ed98892040d7 100644 (file)
@@ -30,16 +30,16 @@ install:
     - composer self-update
 
 # build coverage only on one build, to speed up results feedbacks
-before_script:
-    - if [[ "$TRAVIS_PHP_VERSION" = "5.6" ]]; then PHPUNIT_FLAGS="--coverage-clover=coverage.clover"; else PHPUNIT_FLAGS=""; fi;
+before_script:
+    - if [[ "$TRAVIS_PHP_VERSION" = "5.6" ]]; then PHPUNIT_FLAGS="--coverage-clover=coverage.clover"; else PHPUNIT_FLAGS=""; fi;
 
 script:
     - ant prepare
-    - phpunit --exclude-group command-doctrine --debug $PHPUNIT_FLAGS
-
-after_script:
-    - |
-        if [ $TRAVIS_PHP_VERSION = '5.6' ]; then
-            wget https://scrutinizer-ci.com/ocular.phar
-            php ocular.phar code-coverage:upload --format=php-clover coverage.clover
-        fi
+    - bin/phpunit --exclude-group command-doctrine --debug $PHPUNIT_FLAGS
+
+after_script:
+    - |
+        if [ $TRAVIS_PHP_VERSION = '5.6' ]; then
+            wget https://scrutinizer-ci.com/ocular.phar
+            php ocular.phar code-coverage:upload --format=php-clover coverage.clover
+        fi