From 826ad83db6f2809803ab16f672366bb25e5f70ad Mon Sep 17 00:00:00 2001 From: PlasmaPower Date: Sun, 3 Apr 2016 20:28:06 -0600 Subject: [PATCH] travis: move to container travis builds --- .travis.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 4581690..336e509 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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