Skip to content

Commit

Permalink
Merge pull request #201 from bencevans/semantic-release
Browse files Browse the repository at this point in the history
chore: semantic release
  • Loading branch information
bencevans authored Jan 3, 2018
2 parents 89662eb + bd965bd commit c05cff4
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 14 deletions.
23 changes: 13 additions & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
language: node_js
cache:
directories:
- ~/.npm
notifications:
email: false
node_js:
- 6
- 8
- 9
sudo: false
matrix:
fast_finish: true
env:
- CMD=lint
- CMD=test
script: npm run env-run
- '9'
- '8'
- '6'
after_success:
- npm run semantic-release
branches:
except:
- /^v\d+\.\d+\.\d+$/
10 changes: 6 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
{
"name": "sonos",
"version": "0.19.0",
"version": "0.0.0-development",
"description": "Node.js Sonos Interface",
"main": "index.js",
"scripts": {
"lint": "standard",
"test": "mocha test/sonos.test.js",
"test": "npm run lint && mocha test/sonos.test.js",
"test-onsite": "mocha test/",
"env-run": "npm run $CMD"
"env-run": "npm run $CMD",
"semantic-release": "semantic-release"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -46,6 +47,7 @@
},
"devDependencies": {
"mocha": "^4.1.0",
"standard": "*"
"standard": "*",
"semantic-release": "^11.0.2"
}
}

0 comments on commit c05cff4

Please sign in to comment.