Skip to content

Commit

Permalink
chore: update semantic-release
Browse files Browse the repository at this point in the history
  • Loading branch information
pvdlg committed Jan 4, 2018
1 parent 8a8d90d commit 7d4ea9b
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 16 deletions.
20 changes: 11 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,32 +1,34 @@
language: node_js

node_js:
- 8
- 6
- 4

os:
- linux
- osx

branches:
only:
- master
- /^greenkeeper.*$/
git:
depth: 999

before_install:
- if [[ `npm -v` < 5* ]]; then npm install -g npm@5; fi

install:
- travis_retry npm install

script:
- npm run test
env:
- BUILD_LEADER_ID=7

jobs:
include:
- stage: release
node_js: 8
node_js: 9
os: linux
script: npm run test
after_success:
- if [ -n "${CODECOV_TOKEN:-}" ]; then npm run codecov; fi
- npm run coverage
- npm run semantic-release
after_success:
- npm run codecov
- npm run semantic-release
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ A Karma plugin for [Jasmine-jQuery](https://github.com/velesin/jasmine-jquery).
[![npm](https://img.shields.io/npm/dt/@metahub/karma-jasmine-jquery.svg)](https://www.npmjs.com/package/@metahub/karma-jasmine-jquery)
[![Greenkeeper badge](https://badges.greenkeeper.io/vanduynslagerp/karma-jasmine-jquery.svg)](https://greenkeeper.io/)
[![license](https://img.shields.io/github/license/vanduynslagerp/karma-jasmine-jquery.svg)](https://github.com/vanduynslagerp/karma-jasmine-jquery/blob/master/LICENSE)
[![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)

[![Travis](https://img.shields.io/travis/vanduynslagerp/karma-jasmine-jquery.svg)](https://travis-ci.org/vanduynslagerp/karma-jasmine-jquery)
[![AppVeyor](https://img.shields.io/appveyor/ci/vanduynslagerp/karma-jasmine-jquery.svg)](https://ci.appveyor.com/project/vanduynslagerp/karma-jasmine-jquery)
Expand Down
8 changes: 2 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,7 @@
"rollup-plugin-commonjs": "^8.2.0",
"rollup-plugin-node-resolve": "^3.0.0",
"rollup-plugin-re": "^1.0.6",
"semantic-release": "^8.0.0",
"sr-commit-analyzer": "^2.0.2",
"sr-release-notes-generator": "^1.1.2"
"semantic-release": "^12.0.0"
},
"engines": {
"node": ">=4"
Expand Down Expand Up @@ -90,12 +88,10 @@
},
"release": {
"analyzeCommits": {
"path": "sr-commit-analyzer",
"preset": "metahub",
"releaseRules": "conventional-changelog-metahub/release-rules"
},
"generateNotes": {
"path": "sr-release-notes-generator",
"preset": "metahub"
}
},
Expand All @@ -112,7 +108,7 @@
"prepare": "npm run compile",
"prepublishOnly": "npm run compile",
"pretest": "npm run clean && npm run compile && npm run lint",
"semantic-release": "semantic-release pre && npm publish && semantic-release post",
"semantic-release": "semantic-release",
"test": "nyc ava -v"
}
}

0 comments on commit 7d4ea9b

Please sign in to comment.