]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - .travis.yml
Fix grunt path
[github/wallabag/wallabag.git] / .travis.yml
index c5fe7b01d03f9315db2798e28e28dfa667ce6d31..f0a490c139e3258dad62d4c04c2ad345c708a8a6 100644 (file)
@@ -91,8 +91,9 @@ before_install:
     - if [[ $TRAVIS_REPO_SLUG = wallabag/wallabag ]]; then cp .composer-auth.json ~/.composer/auth.json; fi;
 
 script:
-    - travis_wait bash install.sh
+    - travis_wait bash composer install -o  --no-interaction --no-progress --prefer-dist
     - ant prepare-$DB
-    - phpunit -v
+    - if [[ $VALIDATE_TRANSLATION_FILE = '' || $ASSETS = '' ]]; then phpunit -v ; fi;
     - if [[ $CS_FIXER = run ]]; then php bin/php-cs-fixer fix src/ --verbose --dry-run ; fi;
     - if [[ $VALIDATE_TRANSLATION_FILE = run ]]; then php bin/console lint:yaml src/Wallabag/CoreBundle/Resources/translations -v ; fi;
+    - if [[ $ASSETS = build ]]; then node_modules/grunt/bin/grunt; fi;