Skip to content

Commit

Permalink
Merge pull request #21 from karlwestin/chore/semantic-release
Browse files Browse the repository at this point in the history
chore: add semantic release
  • Loading branch information
karlwestin authored Oct 24, 2016
2 parents cb2ca55 + a0190a0 commit fcba2ba
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
14 changes: 11 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,16 @@ addons:
- ubuntu-toolchain-r-test
packages:
- g++-4.8

cache:
directories:
- node_modules
after_success:
- npm run semantic-release
node_js:
- "4.1"
- "0.12"
- "6"
- "4"
- "0.10"
branches:
except:
# ignore git tags created by semantic-release, like "v1.2.3"
- /^v\d+\.\d+\.\d+$/
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gumbo-parser",
"version": "0.2.2",
"version": "0.0.0-semantically-released",
"author": "Karl Westin <[email protected]>",
"contributors": [
{
Expand All @@ -10,6 +10,7 @@
],
"description": "Parsing HTML using google gumbo parser",
"scripts": {
"semantic-release": "semantic-release pre && npm publish && semantic-release post",
"test": "node test/test.js"
},
"repository": {
Expand All @@ -22,6 +23,7 @@
"parser"
],
"devDependencies": {
"semantic-release": "^4.3.5",
"node-gyp": "3.0.x"
},
"license": "MIT",
Expand Down

0 comments on commit fcba2ba

Please sign in to comment.