[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:
James Ide 2016-01-18 01:33:14 -08:00
parent 1f403cde74
commit 4e411ed7ed

View file

@ -1,10 +1,11 @@
language: node_js
node_js:
- "0.12"
- "1"
- "2"
- "3"
- "4"
- stable
- 4
- 3
- 2
- 1
- 0.12
sudo: false
script: "make test-travis"
after_script: "npm install coveralls@2 && cat ./coverage/lcov.info | coveralls"