cache node_modules on Travis CI
This commit is contained in:
parent
e576e900b5
commit
f63920e25e
1 changed files with 3 additions and 0 deletions
|
@ -6,6 +6,9 @@ addons:
|
||||||
before_script:
|
before_script:
|
||||||
- export DISPLAY=:99.0
|
- export DISPLAY=:99.0
|
||||||
- sh -e /etc/init.d/xvfb start
|
- sh -e /etc/init.d/xvfb start
|
||||||
|
cache:
|
||||||
|
directories:
|
||||||
|
- node_modules
|
||||||
script:
|
script:
|
||||||
- npm run lint
|
- npm run lint
|
||||||
- npm test
|
- npm test
|
||||||
|
|
Reference in a new issue