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 10, 2018
1 parent 4b7c139 commit e5e83c1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
10 changes: 6 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,12 @@ matrix:
script: npm run travis
before_install:
- npm i -g npm
before_script:
- npm prune
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
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
"jshint": "^2.9.4",
"precommit-hook": "^3.0.0",
"proxyquire": "^2.0.0",
"semantic-release": "^15.0.0",
"tap-spec": "^5.0.0",
"tape": "^4.5.0",
"temp": "^0.8.3"
Expand Down

0 comments on commit e5e83c1

Please sign in to comment.