-
Notifications
You must be signed in to change notification settings - Fork 386
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Tests] up to
node
v10.0
, v9.11
, v8.11
, v6.14
, v4.9
; use …
…`nvm install-latest-npm`
- Loading branch information
Showing
2 changed files
with
73 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,22 +2,25 @@ language: node_js | |
os: | ||
- linux | ||
node_js: | ||
- "7.8" | ||
- "6.10" | ||
- "10.0" | ||
- "9.11" | ||
- "8.11" | ||
- "7.10" | ||
- "6.14" | ||
- "5.12" | ||
- "4.8" | ||
- "4.9" | ||
- "iojs-v3.3" | ||
- "iojs-v2.5" | ||
- "iojs-v1.8" | ||
- "0.12" | ||
- "0.10" | ||
- "0.8" | ||
before_install: | ||
- 'if [ "${TRAVIS_NODE_VERSION}" = "0.6" ]; then npm install -g [email protected] ; elif [ "${TRAVIS_NODE_VERSION}" != "0.9" ]; then case "$(npm --version)" in 1.*) npm install -g [email protected] ;; 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' | ||
- 'case "${TRAVIS_NODE_VERSION}" in 0.*) export NPM_CONFIG_STRICT_SSL=false ;; esac' | ||
- 'nvm install-latest-npm' | ||
- 'if [ -n "${SAUCE-}" ]; then npm install -g grunt-cli; fi' | ||
install: | ||
- 'if [ "${TRAVIS_NODE_VERSION}" = "0.6" ]; then nvm install 0.8 && npm install -g [email protected] && npm install -g [email protected] && npm install -g npm@2 && npm install && nvm use "${TRAVIS_NODE_VERSION}"; else npm install; fi;' | ||
- 'if [ "${TRAVIS_NODE_VERSION}" = "0.6" ] || [ "${TRAVIS_NODE_VERSION}" = "0.9" ]; then nvm install --latest-npm 0.8 && npm install && nvm use "${TRAVIS_NODE_VERSION}"; else npm install; fi;' | ||
script: | ||
- 'if [ -n "${SAUCE-}" ]; then npm run sauce; fi' | ||
- 'if [ -n "${PRETEST-}" ]; then npm run pretest ; fi' | ||
|
@@ -34,10 +37,58 @@ env: | |
matrix: | ||
fast_finish: true | ||
include: | ||
- node_js: "node" | ||
- node_js: "lts/*" | ||
env: PRETEST=true | ||
- node_js: "node" | ||
- node_js: "lts/*" | ||
env: SAUCE=true | ||
- node_js: "9.10" | ||
env: TEST=true ALLOW_FAILURE=true | ||
- node_js: "9.9" | ||
env: TEST=true ALLOW_FAILURE=true | ||
- node_js: "9.8" | ||
env: TEST=true ALLOW_FAILURE=true | ||
- node_js: "9.7" | ||
env: TEST=true ALLOW_FAILURE=true | ||
- node_js: "9.6" | ||
env: TEST=true ALLOW_FAILURE=true | ||
- node_js: "9.5" | ||
env: TEST=true ALLOW_FAILURE=true | ||
- node_js: "9.4" | ||
env: TEST=true ALLOW_FAILURE=true | ||
- node_js: "9.3" | ||
env: TEST=true ALLOW_FAILURE=true | ||
- node_js: "9.2" | ||
env: TEST=true ALLOW_FAILURE=true | ||
- node_js: "9.1" | ||
env: TEST=true ALLOW_FAILURE=true | ||
- node_js: "9.0" | ||
env: TEST=true ALLOW_FAILURE=true | ||
- node_js: "8.10" | ||
env: TEST=true ALLOW_FAILURE=true | ||
- node_js: "8.9" | ||
env: TEST=true ALLOW_FAILURE=true | ||
- node_js: "8.8" | ||
env: TEST=true ALLOW_FAILURE=true | ||
- node_js: "8.7" | ||
env: TEST=true ALLOW_FAILURE=true | ||
- node_js: "8.6" | ||
env: TEST=true ALLOW_FAILURE=true | ||
- node_js: "8.5" | ||
env: TEST=true ALLOW_FAILURE=true | ||
- node_js: "8.4" | ||
env: TEST=true ALLOW_FAILURE=true | ||
- node_js: "8.3" | ||
env: TEST=true ALLOW_FAILURE=true | ||
- node_js: "8.2" | ||
env: TEST=true ALLOW_FAILURE=true | ||
- node_js: "8.1" | ||
env: TEST=true ALLOW_FAILURE=true | ||
- node_js: "8.0" | ||
env: TEST=true ALLOW_FAILURE=true | ||
- node_js: "7.9" | ||
env: TEST=true ALLOW_FAILURE=true | ||
- node_js: "7.8" | ||
env: TEST=true ALLOW_FAILURE=true | ||
- node_js: "7.7" | ||
env: TEST=true ALLOW_FAILURE=true | ||
- node_js: "7.6" | ||
|
@@ -54,6 +105,14 @@ matrix: | |
env: TEST=true ALLOW_FAILURE=true | ||
- node_js: "7.0" | ||
env: TEST=true ALLOW_FAILURE=true | ||
- node_js: "6.13" | ||
env: TEST=true ALLOW_FAILURE=true | ||
- node_js: "6.12" | ||
env: TEST=true ALLOW_FAILURE=true | ||
- node_js: "6.11" | ||
env: TEST=true ALLOW_FAILURE=true | ||
- node_js: "6.10" | ||
env: TEST=true ALLOW_FAILURE=true | ||
- node_js: "6.9" | ||
env: TEST=true ALLOW_FAILURE=true | ||
- node_js: "6.8" | ||
|
@@ -98,6 +157,8 @@ matrix: | |
env: TEST=true ALLOW_FAILURE=true | ||
- node_js: "5.0" | ||
env: TEST=true ALLOW_FAILURE=true | ||
- node_js: "4.8" | ||
env: TEST=true ALLOW_FAILURE=true | ||
- node_js: "4.7" | ||
env: TEST=true ALLOW_FAILURE=true | ||
- node_js: "4.6" | ||
|
@@ -154,30 +215,6 @@ matrix: | |
env: TEST=true ALLOW_FAILURE=true | ||
- node_js: "0.4" | ||
env: TEST=true ALLOW_FAILURE=true | ||
##- node_js: "7" | ||
#env: TEST=true | ||
#os: osx | ||
#- node_js: "6" | ||
#env: TEST=true | ||
#os: osx | ||
#- node_js: "5" | ||
#env: TEST=true | ||
#os: osx | ||
#- node_js: "4" | ||
#env: TEST=true | ||
#os: osx | ||
#- node_js: "iojs" | ||
#env: TEST=true | ||
#os: osx | ||
#- node_js: "0.12" | ||
#env: TEST=true | ||
#os: osx | ||
#- node_js: "0.10" | ||
#env: TEST=true | ||
#os: osx | ||
#- node_js: "0.8" | ||
#env: TEST=true | ||
#os: osx | ||
allow_failures: | ||
- os: osx | ||
- env: TEST=true ALLOW_FAILURE=true | ||
|