Skip to content

Commit

Permalink
feat(build): Add semantic releases
Browse files Browse the repository at this point in the history
  • Loading branch information
germanattanasio committed Jul 3, 2018
1 parent 412d549 commit e5891d8
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 2 deletions.
9 changes: 9 additions & 0 deletions .releaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"branch": "master",
"publish": [
"@semantic-release/npm",
{
"path": "@semantic-release/github",
}
]
}
18 changes: 16 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,22 @@
language: node_js
sudo: false # causes tests to be run in Travis CI's newer, faster build infrastructure
node_js:
- "stable"
node_js: 8

cache:
directories:
- node_modules

install:
- npm install
- npm install [email protected]

script:
- npm test

after_success:
- npm run coveralls

deploy:
- provider: script
skip_cleanup: true
script: npx semantic-release

0 comments on commit e5891d8

Please sign in to comment.