Skip to content

Commit

Permalink
feat(release): replace semantic-release dep with Travis build stages
Browse files Browse the repository at this point in the history
This makes CI quicker, and releases more stable.

Connects pelias/api#1187
  • Loading branch information
orangejulius committed Sep 8, 2018
1 parent 46cf623 commit 2dd6b92
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
8 changes: 6 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,12 @@ matrix:
script: npm run travis
before_install:
- npm i -g npm
after_success:
- npx semantic-release
branches:
except:
- /^v\d+\.\d+\.\d+$/
jobs:
include:
- stage: release
node_js: 10
script: curl "https://raw.githubusercontent.com/pelias/ci-tools/master/semantic-release.sh" | bash -
if: branch = master
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@
"jshint": "^2.8.0",
"precommit-hook": "^3.0.0",
"tap-dot": "^2.0.0",
"tape": "^4.6.2",
"semantic-release": "^15.5.0"
"tape": "^4.6.2"
},
"pre-commit": [
"lint",
Expand Down

0 comments on commit 2dd6b92

Please sign in to comment.