1 | sudo: false
|
2 | language: node_js
|
3 | notifications:
|
4 | email: false
|
5 | node_js:
|
6 | - 8
|
7 | - 10
|
8 | matrix:
|
9 | fast_finish: true
|
10 | script: npm run travis
|
11 | before_install:
|
12 | - npm i -g npm
|
13 | branches:
|
14 | except:
|
15 | - /^v\d+\.\d+\.\d+$/
|
16 | jobs:
|
17 | include:
|
18 | - stage: release
|
19 | node_js: 10
|
20 | script: curl "https://raw.githubusercontent.com/pelias/ci-tools/master/semantic-release.sh" | bash -
|
21 | if: (branch = master) AND ( type = push )
|