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 f2e98d8 commit c9df121
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 8 deletions.
24 changes: 19 additions & 5 deletions .travis.yml
@@ -1,8 +1,22 @@
language: "node_js"
sudo: false
language: node_js
cache:
directories:
- node_modules
notifications:
email: false
node_js:
- "0.10"
- "0.11"
- "0.12"
- "iojs"
- '4'
- 'iojs-v3'
- 'iojs-v2'
- 'iojs-v1'
- '0.12'
- '0.10'
services:
- couchdb
before_install:
- npm i -g npm@^2.0.0
before_script:
- npm prune
after_success:
- npm run semantic-release
7 changes: 4 additions & 3 deletions package.json
@@ -1,11 +1,11 @@
{
"name": "couchdb-push",
"version": "2.1.3",
"description": "Deploy CouchDB documents from directory, JSON or module.",
"main": "index.js",
"bin": "cli.js",
"scripts": {
"test": "tap test/*.js"
"test": "tap test/*.js",
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
},
"repository": {
"type": "git",
Expand All @@ -32,6 +32,7 @@
},
"devDependencies": {
"tap": "~0.4.11",
"nano": "^6.1.3"
"nano": "^6.1.3",
"semantic-release": "^4.3.5"
}
}

0 comments on commit c9df121

Please sign in to comment.