koa-lite/.travis.yml

22 lines
459 B
YAML
Raw Permalink 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
- 8
2018-04-25 08:21:57 +00:00
- 10
2019-06-26 03:14:37 +00:00
- 12
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