travis: cache node_modules (#934)
This commit is contained in:
parent
4816cd76f0
commit
55d1d9a607
1 changed files with 2 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue