koa-lite/.travis.yml

24 lines
471 B
YAML
Raw Normal View History

sudo: false
2013-08-21 04:34:35 +00:00
language: node_js
node_js:
2017-06-20 16:56:47 +00:00
- 7
- 8
2017-11-06 13:08:21 +00:00
- 9
2018-04-25 08:21:57 +00:00
- 10
2018-11-01 11:18:24 +00:00
- 11
cache:
directories:
- wrk/bin
2017-03-14 08:55:54 +00:00
- node_modules
2016-03-06 21:45:35 +00:00
before_script:
2017-03-14 08:55:54 +00:00
- npm prune
- "[ ! -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:
2017-05-11 03:30:32 +00:00
- npm run lint
- npm run test-cov
- npm run bench
2016-03-03 22:40:43 +00:00
after_script:
- npm install codecov
- ./node_modules/.bin/codecov