koa-lite/.travis.yml

26 lines
660 B
YAML
Raw Normal View History

sudo: false
2013-08-21 04:34:35 +00:00
language: node_js
node_js:
2017-02-25 06:06:01 +00:00
- stable
- 7.6
2017-02-25 20:09:51 +00:00
matrix:
include:
- node_js: "8.0"
env: "NVM_NODEJS_ORG_MIRROR=https://nodejs.org/download/nightly"
allow_failures:
# Allow the nightly installs to fail
- env: "NVM_NODEJS_ORG_MIRROR=https://nodejs.org/download/nightly"
cache:
directories:
- wrk/bin
2016-03-06 21:45:35 +00:00
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/
2016-03-04 03:45:30 +00:00
script:
2016-03-13 02:30:43 +00:00
- make lint
2016-03-04 03:45:30 +00:00
- make test-travis
- make bench
2016-03-03 22:40:43 +00:00
after_script:
- npm install codecov
- ./node_modules/.bin/codecov