Skip to content

Commit

Permalink
chore: semantic release
Browse files Browse the repository at this point in the history
  • Loading branch information
tlvince committed Jul 26, 2017
1 parent 476175c commit 9f7c849
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
7 changes: 6 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ cache:
notifications:
email: false
node_js:
- 6
- '6'
before_script:
- npm prune
after_success:
- npm run semantic-release
branches:
except:
- /^v\d+\.\d+\.\d+$/
10 changes: 6 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
{
"name": "make-coverage-badge",
"version": "0.0.0",
"version": "0.0.0-development",
"description": "Create a coverage badge",
"main": "cli.js",
"bin": "cli.js",
"scripts": {
"commitmsg": "validate-commit-msg",
"test": "standard"
"test": "standard",
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
},
"repository": {
"type": "git",
"url": "git+https://github.com/tlvince/make-coverage-badge.git"
"url": "https://github.com/tlvince/make-coverage-badge.git"
},
"keywords": [
"coverage",
Expand All @@ -30,7 +31,8 @@
"devDependencies": {
"husky": "0.13.3",
"standard": "10.0.2",
"validate-commit-msg": "2.12.1"
"validate-commit-msg": "2.12.1",
"semantic-release": "^6.3.6"
},
"files": [
"cli.js"
Expand Down

0 comments on commit 9f7c849

Please sign in to comment.