travis: move to container travis builds
This commit is contained in:
parent
fd839976e2
commit
826ad83db6
1 changed files with 6 additions and 3 deletions
|
@ -1,11 +1,14 @@
|
||||||
|
sudo: false
|
||||||
language: node_js
|
language: node_js
|
||||||
node_js:
|
node_js:
|
||||||
- "4"
|
- "4"
|
||||||
- "5"
|
- "5"
|
||||||
|
cache:
|
||||||
|
directories:
|
||||||
|
- wrk/bin
|
||||||
before_script:
|
before_script:
|
||||||
- sudo apt-get install build-essential libssl-dev git
|
- "[ ! -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"
|
||||||
- git clone https://github.com/wg/wrk.git
|
- export PATH=$PATH:$PWD/wrk/bin/
|
||||||
- cd wrk && make && sudo cp wrk /usr/local/bin && cd ..
|
|
||||||
script:
|
script:
|
||||||
- make lint
|
- make lint
|
||||||
- make test-travis
|
- make test-travis
|
||||||
|
|
Loading…
Reference in a new issue