travis: cache node_modules (#934)

master
Lee Bousfield 2017-03-14 02:55:54 -06:00 committed by jongleberry
parent 4816cd76f0
commit 55d1d9a607
1 changed files with 2 additions and 0 deletions

View File

@ -13,7 +13,9 @@ matrix:
cache:
directories:
- wrk/bin
- node_modules
before_script:
- npm prune
- "[ ! -f wrk/bin/wrk ] && rm -rf wrk && git clone https://github.com/wg/wrk.git && make -C wrk && mkdir wrk/bin && mv wrk/wrk wrk/bin || true"
- export PATH=$PATH:$PWD/wrk/bin/
script: