Skip to content

Commit

Permalink
chore(semantic-release): enable semantic-release
Browse files Browse the repository at this point in the history
  • Loading branch information
ds82 committed Oct 22, 2015
1 parent 3c321ac commit eddbf6c
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 13 deletions.
32 changes: 24 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,28 @@
sudo: false
language: node_js
cache:
directories:
- node_modules
notifications:
email: false
node_js:
- "0.12"
- "0.11"
- "0.10"
- "iojs"

- '4'
- iojs-v3
- iojs-v2
- iojs-v1
- '0.12'
- '0.10'
before_install:
- npm i -g npm@^2.0.0
before_script:
- npm prune
- 'curl -Lo travis_after_all.py https://git.io/vLSON'
after_success:
- python travis_after_all.py
- export $(cat .to_export_back)
- npm run semantic-release
branches:
except:
- gh-pages

script: "npm run build"
- "/^v\\d+\\.\\d+\\.\\d+$/"
script:
- npm run build
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"name": "access-right",
"version": "0.0.3",
"description": "A tiny helper library to handle access rights in your node backend",
"main": "src/index.js",
"scripts": {
"test": "jasmine",
"prepublish": "npm test",
"lint": "eslint src spec",
"build": "npm run lint && npm run test"
"build": "npm run lint && npm run test",
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
},
"repository": {
"type": "git",
Expand All @@ -30,13 +30,13 @@
"eslint-plugin-jasmine": "1.5.0",
"ghooks": "0.3.2",
"validate-commit-msg": "1.0.0",
"jasmine": "2.3.2"
"jasmine": "2.3.2",
"semantic-release": "^4.3.5"
},
"publishConfig": {
"registry": "https://registry.npmjs.org"
},
"dependencies": {
},
"dependencies": {},
"config": {
"ghooks": {
"commit-msg": "./node_modules/.bin/validate-commit-msg"
Expand Down

0 comments on commit eddbf6c

Please sign in to comment.