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 Aug 30, 2016
1 parent 2dc4b3e commit c3e34ec
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 6 deletions.
24 changes: 21 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
sudo: false
language: node_js
cache:
directories:
- node_modules
notifications:
email: false
node_js:
- 4
- 5
- 6
- '4'
- '5'
- '6'
before_install:
- npm i -g npm@^2.0.0
before_script:
- npm prune
after_success:
- 'curl -Lo travis_after_all.py https://git.io/travis_after_all'
- python travis_after_all.py
- export $(cat .to_export_back) &> /dev/null
- npm run semantic-release
branches:
except:
- /^v\d+\.\d+\.\d+$/
10 changes: 7 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"name": "snappy-msgpack-stream",
"version": "1.0.6",
"description": "Streams of framed Snappy-compressed MessagePack messages",
"main": "index.js",
"scripts": {
"test": "standard && tape test.js"
"test": "standard && tape test.js",
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
},
"dependencies": {
"bops": "^1.0.0",
Expand All @@ -23,10 +23,14 @@
"license": "MIT",
"devDependencies": {
"standard": "^8.0.0",
"tape": "^4.6.0"
"tape": "^4.6.0",
"semantic-release": "^4.3.5"
},
"repository": {
"type": "git",
"url": "https://github.com/KlausTrainer/snappy-msgpack-stream.git"
},
"release": {
"branch": "main"
}
}
1 change: 1 addition & 0 deletions readme.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

[![Build Status](https://travis-ci.org/KlausTrainer/snappy-msgpack-stream.svg?branch=main)](https://travis-ci.org/KlausTrainer/snappy-msgpack-stream)
[![JavaScript Style Guide](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](http://standardjs.com/)
[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)

Streams of framed [Snappy](https://google.github.io/snappy/)-compressed [MessagePack](http://msgpack.org/) messages..

Expand Down

0 comments on commit c3e34ec

Please sign in to comment.