diff --git a/.travis.yml b/.travis.yml index 821dfed..f58e338 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,24 +1,28 @@ language: node_js + node_js: + - 9 - 8 - 6 - 4 + branches: only: - master - /^greenkeeper.*$/ -before_install: - - if [[ `npm -v` < 5* ]]; then npm install -g npm@5; fi + install: - travis_retry npm install + script: - npm run test + +after_success: + - npm run codecov + jobs: include: - stage: release - node_js: node - script: npm run test - after_success: - - npm run codecov - - npm run coverage + node_js: lts/* + script: - npm run semantic-release diff --git a/README.md b/README.md index 9b5c0df..dfab388 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,6 @@ Also provides [release rules](https://github.com/vanduynslagerp/sr-commit-analyz [![npm](https://img.shields.io/npm/dt/conventional-changelog-metahub.svg)](https://www.npmjs.com/package/conventional-changelog-metahub) [![Greenkeeper badge](https://badges.greenkeeper.io/vanduynslagerp/conventional-changelog-metahub.svg)](https://greenkeeper.io/) [![license](https://img.shields.io/github/license/vanduynslagerp/conventional-changelog-metahub.svg)](https://github.com/vanduynslagerp/conventional-changelog-metahub/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/conventional-changelog-metahub.svg)](https://travis-ci.org/vanduynslagerp/conventional-changelog-metahub) [![Codecov](https://img.shields.io/codecov/c/github/vanduynslagerp/conventional-changelog-metahub.svg)](https://codecov.io/gh/vanduynslagerp/conventional-changelog-metahub) diff --git a/package.json b/package.json index 89e1297..28c4177 100644 --- a/package.json +++ b/package.json @@ -41,7 +41,7 @@ "prettier": "^1.7.2", "proxyquire": "^1.8.0", "rimraf": "^2.6.1", - "semantic-release": "^11.0.2", + "semantic-release": "^12.0.0", "stringz": "^0.4.0", "tempy": "^0.2.0" }, @@ -109,7 +109,7 @@ "lint": "eslint src test package.json", "prepublishOnly": "npm run compile", "pretest": "npm run clean && npm run compile && npm run lint", - "semantic-release": "semantic-release pre", + "semantic-release": "semantic-release", "test": "nyc ava -v" } }