]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - .travis.yml
remove install scripts and tweak travis
[github/wallabag/wallabag.git] / .travis.yml
index 918d15fee0e652fe529384f87a80999502467835..9973bcae64be4d3ebdea5abf29945aa6a19571c6 100644 (file)
@@ -2,6 +2,7 @@ language: php
 
 services:
   - rabbitmq
+  - redis
 
 # faster builds on docker-container setup
 sudo: false
@@ -90,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-cli/bin/grunt ; fi;