From 6138f40c3c9fc805bbc47c72d47eedaf61501efa Mon Sep 17 00:00:00 2001 From: Jordan Harband Date: Tue, 26 Jan 2016 01:11:09 -0800 Subject: [PATCH] [Tests] up to `node` `v5.5` --- .travis.yml | 51 ++++++++++++++++++++++++++++++++++++++++++++++----- package.json | 3 ++- 2 files changed, 48 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index 5957d8e..9569baa 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,10 +1,25 @@ language: node_js node_js: - - "v5.1" - - "v5.0" - - "v4.2" - - "v4.1" - - "v4.0" + - "5.5" + - "5.4" + - "5.3" + - "5.2" + - "5.1" + - "5.0" + - "4.2" + - "4.1" + - "4.0" + - "iojs-v3.3" + - "iojs-v3.2" + - "iojs-v3.1" + - "iojs-v3.0" + - "iojs-v2.5" + - "iojs-v2.4" + - "iojs-v2.3" + - "iojs-v2.2" + - "iojs-v2.1" + - "iojs-v2.0" + - "iojs-v1.8" - "iojs-v1.7" - "iojs-v1.6" - "iojs-v1.5" @@ -23,10 +38,36 @@ node_js: before_install: - 'if [ "${TRAVIS_NODE_VERSION}" != "0.9" ]; then case "$(npm --version)" in 1.*) npm install -g npm@1.4.28 ;; 2.*) npm install -g npm@2 ;; esac ; fi' - 'if [ "${TRAVIS_NODE_VERSION}" != "0.6" ] && [ "${TRAVIS_NODE_VERSION}" != "0.9" ]; then npm install -g npm; fi' +script: + - 'if [ "${TRAVIS_NODE_VERSION}" != "4.2" ]; then npm run tests-only ; else npm test ; fi' sudo: false matrix: fast_finish: true allow_failures: + - node_js: "5.4" + - node_js: "5.3" + - node_js: "5.2" + - node_js: "5.1" + - node_js: "5.0" + - node_js: "4.1" + - node_js: "4.0" + - node_js: "iojs-v3.2" + - node_js: "iojs-v3.1" + - node_js: "iojs-v3.0" + - node_js: "iojs-v2.4" + - node_js: "iojs-v2.3" + - node_js: "iojs-v2.2" + - node_js: "iojs-v2.1" + - node_js: "iojs-v2.0" + - node_js: "iojs-v1.7" + - node_js: "iojs-v1.6" + - node_js: "iojs-v1.5" + - node_js: "iojs-v1.4" + - node_js: "iojs-v1.3" + - node_js: "iojs-v1.2" + - node_js: "iojs-v1.1" + - node_js: "iojs-v1.0" + - node_js: "0.11" - node_js: "0.9" - node_js: "0.6" - node_js: "0.4" diff --git a/package.json b/package.json index 791ec83..ee8aaf4 100644 --- a/package.json +++ b/package.json @@ -42,7 +42,8 @@ "test": "tests" }, "scripts": { - "test": "es-shim-api --bound && node tests/*.js", + "test": "es-shim-api --bound && npm run tests-only", + "tests-only": "node tests/*.js", "cover": "covert tests/*.js" }, "devDependencies": {