Skip to content

Commit 3aaf953

Browse files
committed
feat(release): replace semantic-release dep with Travis build stages
This makes CI quicker, and releases more stable. Connects pelias/api#1187
1 parent ef34fb0 commit 3aaf953

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

Diff for: .travis.yml

+7-6
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,22 @@
11
sudo: false
22
language: node_js
3-
cache:
4-
directories:
5-
- node_modules
63
notifications:
74
email: false
85
node_js:
96
- 6
107
- 8
118
- 10
129
matrix:
13-
fast_finish: true
10+
fast_finish: true
1411
script: npm run travis
1512
before_install:
1613
- npm i -g npm
17-
after_success:
18-
- npx semantic-release
1914
branches:
2015
except:
2116
- /^v\d+\.\d+\.\d+$/
17+
jobs:
18+
include:
19+
- stage: release
20+
node_js: 10
21+
script: curl "https://raw.githubusercontent.com/pelias/ci-tools/master/semantic-release.sh" | bash -
22+
if: branch = master

Diff for: package.json

-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
"express": "^4.15.2",
2626
"pelias-mock-logger": "^1.3.0",
2727
"proxyquire": "^2.0.0",
28-
"semantic-release": "^15.4.1",
2928
"tap-dot": "^2.0.0",
3029
"tape": "^4.6.3"
3130
},

0 commit comments

Comments
 (0)