Skip to content

Commit

Permalink
chore: Start using semantic releases
Browse files Browse the repository at this point in the history
  • Loading branch information
jhinrichsen committed Jan 4, 2016
1 parent 20ddfed commit 2eb39f6
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 5 deletions.
18 changes: 16 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,18 @@
sudo: false
language: node_js
cache:
directories:
- node_modules
notifications:
email: false
node_js:
- "stable"

- '4'
before_install:
- npm i -g npm@^2.0.0
before_script:
- npm prune
after_success:
- npm run semantic-release
branches:
except:
- "/^v\\d+\\.\\d+\\.\\d+$/"
9 changes: 6 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"name": "sense-hat-matrix",
"version": "0.1.0",
"description": "Vanilla ES2015 support for Raspberry Pi Sense HAT LED Matrix",
"main": "index.js",
"scripts": {
"lint": "jshint index.js",
"test": "exit 0"
"test": "exit 0",
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
},
"repository": {
"type": "git",
"url": "git+https://github.com/jhinrichsen/sense-hat-matrix.git"
"url": "https://github.com/jhinrichsen/sense-hat-matrix.git"
},
"keywords": [
"raspberry",
Expand All @@ -28,5 +28,8 @@
"fs-promise": "^0.3.1",
"glob-promise": "^1.0.4",
"streamjs": "^1.6.4"
},
"devDependencies": {
"semantic-release": "^4.3.5"
}
}

0 comments on commit 2eb39f6

Please sign in to comment.