2016-04-04 02:28:06 +00:00
|
|
|
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"
|
2016-04-04 02:28:06 +00:00
|
|
|
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
|
2016-04-04 02:28:06 +00:00
|
|
|
- "[ ! -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
|