From 3aaf95311c641f3ea9d26cf79ee639ad3b8299c8 Mon Sep 17 00:00:00 2001 From: Julian Simioni Date: Fri, 7 Sep 2018 12:52:13 -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 | 13 +++++++------ package.json | 1 - 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index bc4f4a2..60235aa 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,8 +1,5 @@ sudo: false language: node_js -cache: - directories: - - node_modules notifications: email: false node_js: @@ -10,12 +7,16 @@ node_js: - 8 - 10 matrix: - fast_finish: true + fast_finish: true 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 5c94da2..b83ca39 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,6 @@ "express": "^4.15.2", "pelias-mock-logger": "^1.3.0", "proxyquire": "^2.0.0", - "semantic-release": "^15.4.1", "tap-dot": "^2.0.0", "tape": "^4.6.3" },