Skip to content

Commit

Permalink
feat: use semantic-release
Browse files Browse the repository at this point in the history
  • Loading branch information
KlausTrainer committed May 24, 2017
1 parent dbf0d91 commit 0fc999b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
8 changes: 6 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
sudo: false
language: node_js
cache:
directories:
- node_modules
notifications:
email: false
node_js:
- '6'
- '7'
- '6'
before_script:
- npm prune
after_success:
- npm run semantic-release
branches:
except:
- /^v\d+\.\d+\.\d+$/
9 changes: 6 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"description": "Multiplexed negotiated streams of framed Snappy-compressed MessagePack messages.",
"main": "index.js",
"scripts": {
"test": "standard && node node_modules/istanbul/lib/cli.js cover -- lab -vl && istanbul check-coverage"
"test": "standard && node node_modules/istanbul/lib/cli.js cover -- lab -vl && istanbul check-coverage",
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
},
"keywords": [
"snappy",
Expand All @@ -25,13 +26,15 @@
"istanbul": "^0.4.5",
"code": "^4.0.0",
"lab": "^13.1.0",
"standard": "^10.0.2"
"standard": "^10.0.2",
"semantic-release": "^6.3.6"
},
"repository": {
"type": "git",
"url": "https://github.com/KlausTrainer/snappy-msgpack-channels.git"
},
"release": {
"branch": "main"
}
},
"version": "0.0.0-development"
}

0 comments on commit 0fc999b

Please sign in to comment.