]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - .travis.yml
Merge pull request #1429 from wallabag/v2-language
[github/wallabag/wallabag.git] / .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