From ccb0e0c378d8aae570fb53f1eebac86c826f23b7 Mon Sep 17 00:00:00 2001 From: Julian Simioni Date: Sat, 8 Sep 2018 08:56:11 -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 | 1 - 2 files changed, 6 insertions(+), 3 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 ba2f6ec..306d189 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,6 @@ "event-stream": "^3.3.2", "precommit-hook": "^3.0.0", "proxyquire": "^2.0.0", - "semantic-release": "^15.0.0", "tap-spec": "^5.0.0", "tape": "^4.4.0" },