travis: move to container travis builds

This commit is contained in:
PlasmaPower 2016-04-03 20:28:06 -06:00 committed by jongleberry
parent fd839976e2
commit 826ad83db6

View file

@ -1,11 +1,14 @@
sudo: false
language: node_js
node_js:
- "4"
- "5"
cache:
directories:
- wrk/bin
before_script:
- sudo apt-get install build-essential libssl-dev git
- git clone https://github.com/wg/wrk.git
- cd wrk && make && sudo cp wrk /usr/local/bin && cd ..
- "[ ! -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:
- make lint
- make test-travis