Skip to content

Commit

Permalink
[Tests] up to node v7.0, v6.9, v4.6; improve test matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Nov 2, 2016
1 parent 3e5632c commit 6050544
Showing 1 changed file with 30 additions and 1 deletion.
31 changes: 30 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
language: node_js
node_js:
- "7.0"
- "6.9"
- "6.8"
- "6.7"
- "6.6"
- "6.5"
- "6.4"
- "6.3"
- "6.2"
- "6.1"
- "6.0"
Expand All @@ -16,6 +24,8 @@ node_js:
- "5.2"
- "5.1"
- "5.0"
- "4.6"
- "4.5"
- "4.4"
- "4.3"
- "4.2"
Expand Down Expand Up @@ -51,11 +61,28 @@ 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.4" ]; then npm run tests-only ; else npm test ; fi'
- 'if [ -n "${PRETEST-}" ]; then npm run pretest ; fi'
- 'if [ -n "${POSTTEST-}" ]; then npm run posttest ; fi'
- 'if [ -n "${COVERAGE-}" ]; then npm run coverage ; fi'
- 'if [ -n "${TEST-}" ]; then npm run tests-only ; fi'
sudo: false
env:
- TEST=true
matrix:
fast_finish: true
include:
- node_js: "node"
env: PRETEST=true
- node_js: "node"
env: POSTTEST=true
allow_failures:
- node_js: "6.8"
- node_js: "6.7"
- node_js: "6.6"
- node_js: "6.5"
- node_js: "6.4"
- node_js: "6.3"
- node_js: "6.2"
- node_js: "6.1"
- node_js: "6.0"
- node_js: "5.11"
Expand All @@ -70,6 +97,8 @@ matrix:
- node_js: "5.2"
- node_js: "5.1"
- node_js: "5.0"
- node_js: "4.5"
- node_js: "4.4"
- node_js: "4.3"
- node_js: "4.2"
- node_js: "4.1"
Expand Down

0 comments on commit 6050544

Please sign in to comment.