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:
parent
a4c497ec3e
commit
fabb82aa44
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue