Skip to content

Commit

Permalink
chore(use semantic-release):
Browse files Browse the repository at this point in the history
  • Loading branch information
Ahmad Nassri committed Feb 12, 2016
1 parent 51666be commit 763e2c8
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 3 deletions.
16 changes: 15 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,23 @@ cache:
directories:
- node_modules

after_script:
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 coverage
- npm run codeclimate
- npm run semantic-release

branches:
except:
- "/^v\\d+\\.\\d+\\.\\d+$/"

notifications:
webhooks:
Expand Down
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@
"test": "mocha --recursive",
"pretest": "standard && echint",
"coverage": "istanbul cover --dir coverage _mocha -- --recursive --fgrep 'Request Validation' --invert --reporter dot",
"codeclimate": "codeclimate < coverage/lcov.info"
"codeclimate": "codeclimate < coverage/lcov.info",
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
},
"echint": {
"ignore": [
Expand All @@ -61,7 +62,8 @@
"mocha": "^2.2.5",
"should": "^6.0.3",
"standard": "^3.11.1",
"unirest": "^0.4.2"
"unirest": "^0.4.2",
"semantic-release": "^4.3.5"
},
"dependencies": {
"change-case": "^2.3.0",
Expand Down

0 comments on commit 763e2c8

Please sign in to comment.