1
0
Fork 0
mirror of https://github.com/TryGhost/Ghost-Admin.git synced 2023-12-14 02:33:04 +01:00

🏃 persist broccoli cache on Travis for faster builds

no issue
- persisting the broccoli cache should dramatically speed up the client builds on Travis as it will only need to rebuild changed files and those that depend on them
This commit is contained in:
Kevin Ansfield 2017-02-19 14:19:46 +00:00 committed by Austin Burdine
parent a4c497ec3e
commit fabb82aa44

View file

@ -16,6 +16,7 @@ branches:
cache:
directories:
- node_modules
- broccoli-persistent-cache
addons:
firefox: "latest"
@ -36,6 +37,7 @@ install:
before_script:
- export DISPLAY=:99; sh -e /etc/init.d/xvfb start; sleep 3;
- export BROCCOLI_PERSISTENT_FILTER_CACHE_ROOT=/home/travis/build/TryGhost/Ghost-Admin/broccoli-persistent-cache
script:
- COVERAGE=true npm test