cache node_modules on Travis CI

jh-changes
Shin'ya Ueoka 7 years ago
parent e576e900b5
commit f63920e25e
  1. 3
      .travis.yml

@ -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