aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2018-02-13 21:31:41 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2018-02-13 21:44:13 +0900
commitf63920e25e80ca0e472d3514fd56e27fbc505e6f (patch)
tree76f58cd566493067ce4b3814fce7264e9fb1ce5b
parente576e900b575c8fc62927c471af99134513d8965 (diff)
cache node_modules on Travis CI
-rw-r--r--.travis.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index daf742b..60cb22d 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -6,6 +6,9 @@ addons:
before_script:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
+cache:
+ directories:
+ - node_modules
script:
- npm run lint
- npm test