From dff9c287cbb53ecc26fe64062681d57bebfa8edd Mon Sep 17 00:00:00 2001 From: Julian Simioni Date: Sat, 8 Sep 2018 09:06:43 -0400 Subject: [PATCH] feat(release): replace semantic-release dep with Travis build stages This makes CI quicker, and releases more stable. Connects https://github.com/pelias/api/pull/1187 --- .travis.yml | 8 ++++++-- package.json | 3 +-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 5aec453..60235aa 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/package.json b/package.json index ed99307..2c7994f 100644 --- a/package.json +++ b/package.json @@ -30,8 +30,7 @@ "jshint": "^2.9.5", "precommit-hook": "^3.0.0", "tap-dot": "^2.0.0", - "tape": "^4.8.0", - "semantic-release": "^15.0.0" + "tape": "^4.8.0" }, "dependencies": { "lodash": "^4.17.4"