[CI] Run tests on the stable version of Node
This ensures that Koa is regularly tested against the latest version of Node and surfaces issues early. The main thing is that new version of Node could be released and tests that were previously passing would suddenly start failing (if there were a breaking change). I also reversed the order of Node versions in the test matrix so that recent = more relevant versions are at the top.
This commit is contained in:
parent
1f403cde74
commit
4e411ed7ed
1 changed files with 6 additions and 5 deletions
11
.travis.yml
11
.travis.yml
|
@ -1,10 +1,11 @@
|
||||||
language: node_js
|
language: node_js
|
||||||
node_js:
|
node_js:
|
||||||
- "0.12"
|
- stable
|
||||||
- "1"
|
- 4
|
||||||
- "2"
|
- 3
|
||||||
- "3"
|
- 2
|
||||||
- "4"
|
- 1
|
||||||
|
- 0.12
|
||||||
sudo: false
|
sudo: false
|
||||||
script: "make test-travis"
|
script: "make test-travis"
|
||||||
after_script: "npm install coveralls@2 && cat ./coverage/lcov.info | coveralls"
|
after_script: "npm install coveralls@2 && cat ./coverage/lcov.info | coveralls"
|
||||||
|
|
Loading…
Reference in a new issue