Skip to content

Commit

Permalink
chore(travis): semantic-release setup
Browse files Browse the repository at this point in the history
  • Loading branch information
gr2m committed Jan 7, 2018
1 parent 584f194 commit be60b3b
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,17 @@
sudo: false
language: node_js
cache:
directories:
- node_modules
- ~/.npm
notifications:
email: false
node_js:
- '9'
- '8'
- '6'
- '4'
before_install:
- npm install --global npm@3
before_script:
- npm prune
after_success:
- npm run semantic-release
- if [[ $TRAVIS_BRANCH == 'master' ]]; then npm run deploy; fi
- npm install -g travis-deploy-once@4
- travis-deploy-once "npm run semantic-release"
branches:
except:
- "/^v\\d+\\.\\d+\\.\\d+$/"
- /^v\d+\.\d+\.\d+$/

0 comments on commit be60b3b

Please sign in to comment.