Skip to content

Commit

Permalink
chore: introduce semrel
Browse files Browse the repository at this point in the history
  • Loading branch information
miiila committed Jun 14, 2017
1 parent ba78f51 commit 4edc9f0
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 7 deletions.
11 changes: 10 additions & 1 deletion .travis.yml
Expand Up @@ -4,5 +4,14 @@ node_js:
- node
before_script:
- "npm run lint"
before_install:
# Travis CI has only shallow clone of the repository. We need to get the 'master' branch
# so 'conventional-changelog-lint' could compare commits and lint them: marionebl/conventional-changelog-lint#7
- "git remote set-branches origin master && git fetch && git checkout master && git checkout -"
after_success:
- "npm run coveralls"
- "npm run coveralls || true"
- "npm run semantic-release || true"
env:
global:
# travis encrypt NPM_TOKEN="***" GITHUB_TOKEN="***"
- secure: "Gr5roUh5XBNwxgFoA7wspr11Mx0fdNnjIEphf0hIxfX6xVd7rTFcN/W5CldIZ2F111LzrbLA3VbgeuQj1OlMqCKPCPBLbhdb5vaIU3daTWFNTt5Mqglx/QoyJcGypCLInNac5XQlafVxd8Xl8hSftPex4DVvCCLewR8Y+LO/HRkOqGBHdAcIKRN0m4zLJcG/+zL8xxcCmdjkpA72a4xmil+n19AVn1QTxDFRI9mouFCnmc8mt/bczfFaTyybzAyG9rRa95EAEt0CsaybSJKbzHPcW88Sb1LTBxhVx1B7GFzAzr4G42sRu4VZ3QzpHiMnridQpdQBDWAgmuxQEG5/4uawDVU8g+5CGKeJhWQLTFIPP30Ai157zORbq+GM48h0GJrWGe6Imj/G6SvMa6Iu8+KXns5fBGTTLVvh2gEXgmTfPNKEigp8C6Z1UOkIgelDpDYqglpqPqG2cEhjc0298qHxOy6G+sVdnJrDJyffuDzveqytBQAyO9YpYsqpXSiiVnTX1WAd3AeCfS1KfkxBXNeSgBVW7cGRZxpTwnknD5GFD55pItbAmLyAZckw2a0P1kNJpViyiY4Ky1Sb+5XFIkdFdcsfk9qU98bO+ALJl5BHAkwLYPgQ44m2l13vPcJdpdhy1xoSVtmwRRsPGAJvPtW1f2LkeiA4pSFPKIc8P1w="
1 change: 1 addition & 0 deletions README.md
@@ -1,5 +1,6 @@
[![Build Status](https://travis-ci.org/apiaryio/pagerduty-overlap-checker.svg?branch=master)](https://travis-ci.org/apiaryio/pagerduty-overlap-checker)
[![Coverage Status](https://coveralls.io/repos/github/apiaryio/pagerduty-overlap-checker/badge.svg?branch=master)](https://coveralls.io/github/apiaryio/pagerduty-overlap-checker?branch=master)
[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)

# NodeJS supported versions

Expand Down
15 changes: 9 additions & 6 deletions package.json
@@ -1,6 +1,6 @@
{
"name": "pagerduty-overlap-checker",
"version": "1.1.0",
"version": "0.0.0-semantically-released",
"description": "PagerDuty Overlap Duties Checker",
"main": "lib/",
"bin": {
Expand All @@ -9,12 +9,13 @@
"scripts": {
"test": "./node_modules/.bin/mocha --compilers \"coffee:coffee-script/register\"",
"integration": "./node_modules/.bin/mocha --compilers \"coffee:coffee-script/register\" --recursive",
"lint": "coffeelint ./src",
"lint": "conventional-changelog-lint --from=master && coffeelint ./src",
"compile": "coffee -b -c -o lib/ src/",
"pretest": "npm run compile",
"prepublish": "npm run compile",
"coverage": "./scripts/cov",
"coveralls": "npm run coverage && cat ./cov.info | ./node_modules/coveralls/bin/coveralls.js"
"coveralls": "npm run coverage && cat ./cov.info | ./node_modules/coveralls/bin/coveralls.js",
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
},
"author": "Apiary Inc <support@apiary.io>",
"license": "MIT",
Expand All @@ -38,13 +39,15 @@
"underscore": "1.8.3"
},
"devDependencies": {
"coffee-script": "1.10.0",
"chai": "",
"coffee-coverage": "^0.7.0",
"coffee-script": "1.10.0",
"coffeelint": "^1.9.2",
"conventional-changelog-lint": "^1.1.9",
"coveralls": "~2.11.2",
"mocha": "",
"mocha-lcov-reporter": "1.0.0",
"chai": "",
"nock": "7.2.2"
"nock": "7.2.2",
"semantic-release": "^6.3.6"
}
}

0 comments on commit 4edc9f0

Please sign in to comment.