travis: cache node_modules (#934)

This commit is contained in:
Lee Bousfield 2017-03-14 02:55:54 -06:00 committed by jongleberry
parent 4816cd76f0
commit 55d1d9a607

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: