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:
|
cache:
|
||||||
directories:
|
directories:
|
||||||
- wrk/bin
|
- wrk/bin
|
||||||
|
- node_modules
|
||||||
before_script:
|
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"
|
- "[ ! -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/
|
- export PATH=$PATH:$PWD/wrk/bin/
|
||||||
script:
|
script:
|
||||||
|
|
Loading…
Reference in a new issue