Skip to content

Commit

Permalink
feat: setup semantic release
Browse files Browse the repository at this point in the history
  • Loading branch information
Johannes J. Schmidt committed Sep 28, 2015
1 parent 725d8de commit 536f166
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 6 deletions.
20 changes: 18 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,20 @@
sudo: false
language: node_js
cache:
directories:
- node_modules
notifications:
email: false
node_js:
- "0.11"
- "0.10"
- 4
- iojs-v3
- iojs-v2
- iojs-v1
- '0.12'
- '0.10'
before_install:
- npm i -g npm@^2.0.0
before_script:
- npm prune
after_success:
- npm run semantic-release
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"name": "docuri",
"version": "4.1.1",
"description": "Rich document ids for CouchDB",
"main": "index.js",
"scripts": {
"test": "tap test/*.js"
"test": "tap test/*.js",
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
},
"repository": {
"type": "git",
"url": "git://github.com/jo/docuri.git"
"url": "https://github.com/jo/docuri.git"
},
"keywords": [
"couchdb"
Expand All @@ -21,6 +21,7 @@
"homepage": "https://github.com/jo/docuri",
"devDependencies": {
"shuffle-array": "^0.1.0",
"tap": "^0.4.8"
"tap": "^0.4.8",
"semantic-release": "^4.3.5"
}
}

0 comments on commit 536f166

Please sign in to comment.