Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(semantic-release): Update semantic-relase to handle 2FA for git…
…hub/npm
- Loading branch information
Michael Weibel
committed
Jan 30, 2018
1 parent
9ec685d
commit 2b2aa18
Showing
2 changed files
with
22 additions
and
41 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,43 +1,21 @@ | ||
language: node_js | ||
cache: | ||
directories: | ||
- ~/.npm | ||
notifications: | ||
email: false | ||
node_js: | ||
- "8" | ||
- "7" | ||
- "6" | ||
- "5" | ||
- "4" | ||
sudo: false | ||
|
||
# https://docs.travis-ci.com/user/languages/javascript-with-nodejs#Node.js-v4-(or-io.js-v3)-compiler-requirements | ||
env: | ||
- CXX=g++-4.8 | ||
addons: | ||
apt: | ||
sources: | ||
- ubuntu-toolchain-r-test | ||
packages: | ||
- g++-4.8 | ||
|
||
before_script: | ||
- npm prune | ||
|
||
script: | ||
- npm run lint | ||
- npm run test-coverage | ||
- npm run coveralls || true | ||
|
||
- '9' | ||
- '8' | ||
- '7' | ||
- '6' | ||
- '4' | ||
after_success: | ||
- 'curl -Lo travis_after_all.py https://git.io/travis_after_all' | ||
- python travis_after_all.py | ||
- export $(cat .to_export_back) &> /dev/null | ||
- npm run semantic-release | ||
|
||
- npm run travis-deploy-once "npm run semantic-release" | ||
branches: | ||
except: | ||
- /^v\d+\.\d+\.\d+$/ | ||
|
||
cache: | ||
directories: | ||
- node_modules | ||
|
||
notifications: | ||
email: false | ||
script: | ||
- npm run lint | ||
- npm run test-coverage | ||
- npm run coveralls || true |
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