From 4e411ed7ed79cfac305afdcfabfabd0678166b11 Mon Sep 17 00:00:00 2001 From: James Ide Date: Mon, 18 Jan 2016 01:33:14 -0800 Subject: [PATCH] [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. --- .travis.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 5cd485d..2c8ba2f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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"