Skip to content

Commit

Permalink
Merge pull request #2 from BillRobitskeJr/semantic-release
Browse files Browse the repository at this point in the history
Semantic release
  • Loading branch information
BillRobitskeJr committed Jun 28, 2019
2 parents c8bf802 + 3d16fe5 commit c35a644
Show file tree
Hide file tree
Showing 3 changed files with 5,464 additions and 137 deletions.
30 changes: 19 additions & 11 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,22 @@
language: node_js
node_js:
- "node"
- "lts/*"
cache:
directories:
- node_modules
script:
- npm test
- npm run lint
- npm run prepublishOnly
after_script:
- npm run coverage
- npm install coveralls && cat ./coverage/lcov.info | coveralls

stages:
- test
- coverage
- name: deploy
if: branch = master

jobs:
include:
- stage: test
script: npm test && npm run lint
- stage: coverage
script: npm run coverage && npm install coveralls && cat ./coverage/lcov.info | coveralls
- stage: deploy
deploy:
provider: script
skip_cleanup: true
script:
- npx semantic-release
Loading

0 comments on commit c35a644

Please sign in to comment.