]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - .travis.yml
Cache yarn cache in Travis
[github/wallabag/wallabag.git] / .travis.yml
index dea3da4a04eeaf91381dc86cb8eae66c454bb58c..fb32befbd777a9542c138e0bef449372426a591b 100644 (file)
@@ -21,6 +21,7 @@ cache:
         - $HOME/.composer/cache
         - node_modules
         - $HOME/.npm
+        - $HOME/.yarn-cache
 
 php:
     - 5.6
@@ -73,4 +74,4 @@ script:
     - if [[ $VALIDATE_TRANSLATION_FILE = run ]]; then php bin/console lint:yaml src/Wallabag/CoreBundle/Resources/translations -v ; fi;
     - if [[ $VALIDATE_TRANSLATION_FILE = run ]]; then php bin/console lint:yaml app/Resources/CraueConfigBundle/translations -v ; fi;
     - if [[ $VALIDATE_TRANSLATION_FILE = run ]]; then php bin/console lint:yaml src/Wallabag/UserBundle/Resources/translations -v ; fi;
-    - if [[ $ASSETS = build ]]; then ./node_modules/webpack/bin/webpack.js; fi;
+    - if [[ $ASSETS = build ]]; then yarn run build:prod; fi;