Skip to content

Commit

Permalink
feat: update semantic-release for auto-deployment
Browse files Browse the repository at this point in the history
master
  • Loading branch information
uglow committed Nov 14, 2018
1 parent 77bf3a8 commit ab17d65
Show file tree
Hide file tree
Showing 3 changed files with 16,022 additions and 13 deletions.
12 changes: 3 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,29 +1,23 @@
sudo: false
language: node_js

cache:
directories:
- node_modules

node_js:
- '4'
- '6'
- '8'

before_install:
- if [[ `npm -v` != 4* ]]; then npm i -g [email protected]; fi
- '10'

before_script:
- npm prune
- git config --global user.name 'Travis-CI'
- git config --global user.email '[email protected]'


script:
- npm run pre-release

after_success:
- npm run upload-coverage
- npm run semantic-release
- npm run travis-deploy-once "npm run semantic-release"

branches:
except:
Expand Down
Loading

0 comments on commit ab17d65

Please sign in to comment.