-
Notifications
You must be signed in to change notification settings - Fork 492
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Run tests on TravisCI for many nodeJS version
- Loading branch information
Showing
2 changed files
with
15 additions
and
12 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,19 +1,20 @@ | ||
language: node_js | ||
branches: | ||
only: | ||
- master | ||
- /^greenkeeper/.*$/ | ||
cache: | ||
yarn: true | ||
directories: | ||
- node_modules | ||
- ~/.npm | ||
notifications: | ||
email: false | ||
node_js: | ||
- node | ||
- '10' | ||
- '11' | ||
- '8' | ||
- '6' | ||
script: | ||
- npm run test:prod && npm run build | ||
after_success: | ||
- npm run report-coverage | ||
- npm run deploy-docs | ||
- npm run semantic-release | ||
- npm run travis-deploy-once "npm run report-coverage" | ||
- if [ "$TRAVIS_BRANCH" = "master" -a "$TRAVIS_PULL_REQUEST" = "false" ]; then npm run travis-deploy-once "npm run deploy-docs"; fi | ||
- if [ "$TRAVIS_BRANCH" = "master" -a "$TRAVIS_PULL_REQUEST" = "false" ]; then npm run travis-deploy-once "npm run semantic-release"; fi | ||
branches: | ||
except: | ||
- /^v\d+\.\d+\.\d+$/ |
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