Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(release): replace semantic-release dep with Travis build stages #8

Merged
merged 2 commits into from
Sep 11, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,15 @@ node_js:
- 10
matrix:
fast_finish: true
script: npm test
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 = production
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"start": "node index.js",
"download": "node lib/prep_data.js",
"lint": "jshint .",
"travis": "true",
"validate": "npm ls"
},
"author": "fpurcell",
Expand All @@ -28,8 +29,7 @@
"through2": "^2.0.3"
},
"devDependencies": {
"precommit-hook": "^3.0.0",
"semantic-release": "^15.1.4"
"precommit-hook": "^3.0.0"
},
"repository": {
"type": "git",
Expand Down