Skip to content

Commit

Permalink
feat(): set up semantic release build process
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardoanalista committed Nov 13, 2015
1 parent 4bf7f1f commit 8f70b22
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 3 deletions.
20 changes: 20 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
sudo: false
language: node_js
cache:
directories:
- node_modules
notifications:
email: false
node_js:
- '4'
before_install:
- npm i -g npm@^2.0.0
before_script:
- npm prune
script:
- npm run test
after_success:
- npm run semantic-release
branches:
except:
- "/^v\\d+\\.\\d+\\.\\d+$/"
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
{
"name": "cz-customizable",
"version": "2.0.0",
"description": "Commitizen customizable adapter following the conventional-changelog format.",
"main": "index.js",
"scripts": {
"test": "node_modules/jasmine-node/bin/jasmine-node spec/",
"test:watch": "node_modules/jasmine-node/bin/jasmine-node --color --autotest spec/ --watch .",
"semantic-releaseXXX": "semantic-release pre && npm publish && semantic-release post"
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
},
"homepage": "https://github.com/leonardoanalista/cz-customizable",
"repository": {
Expand All @@ -20,6 +19,7 @@
},
"devDependencies": {
"jasmine-node": "1.14.5",
"rewire": "2.4.0"
"rewire": "2.4.0",
"semantic-release": "^4.3.5"
}
}

0 comments on commit 8f70b22

Please sign in to comment.