-
Notifications
You must be signed in to change notification settings - Fork 117
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
38 additions
and
7 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,38 @@ | ||
sudo: false | ||
language: node_js | ||
os: | ||
- linux | ||
node_js: | ||
- stable | ||
branches: | ||
only: | ||
- master | ||
- /^greenkeeper-/ | ||
- "9" | ||
- "8" | ||
- "7" | ||
- "6" | ||
- "5" | ||
- "4" | ||
before_install: | ||
- 'nvm install-latest-npm' | ||
install: | ||
- '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 "${PRETEST-}" ]; then npm run pretest ; fi' | ||
- 'if [ -n "${POSTTEST-}" ]; then npm run posttest ; fi' | ||
- 'if [ -n "${KARMA-}" ]; then npm run karma ; 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: "lts/*" | ||
env: PRETEST=true | ||
- node_js: "lts/*" | ||
env: KARMA=true | ||
allow_failures: | ||
- os: osx | ||
- env: TEST=true ALLOW_FAILURE=true | ||
- env: COVERAGE=true | ||
- env: KARMA=true | ||
- node_js: "9" | ||
- node_js: "7" | ||
- node_js: "5" |
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