From e5e83c166ef765c69f4bbcc6222af15acea50918 Mon Sep 17 00:00:00 2001 From: Julian Simioni Date: Thu, 6 Sep 2018 20:01:23 -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 | 10 ++++++---- package.json | 1 - 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 52a610d13..60235aa00 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/package.json b/package.json index ae9531738..496b52f25 100644 --- a/package.json +++ b/package.json @@ -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"