koa-lite/.travis.yml
2017-02-25 00:06:01 -06:00

18 lines
419 B
YAML

sudo: false
language: node_js
node_js:
- stable
- 7.6
cache:
directories:
- wrk/bin
before_script:
- "[ ! -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
- make bench
after_script:
- npm install codecov
- ./node_modules/.bin/codecov