-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
42 lines (36 loc) · 854 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
language: node_js
node_js:
- node
- lts/*
jobs:
include:
- stage: greenkeeper
node_js: lts/*
before_install: npm install -g greenkeeper-lockfile
before_script: greenkeeper-lockfile-update
script: skip
after_script: greenkeeper-lockfile-upload
- stage: test
after_success:
- npm run report-coverage
- stage: verify codestyle
node_js: lts/*
script:
- commitlint-travis
- standard
- stage: release
node_js: lts/*
script: skip
deploy:
provider: script
skip_cleanup: true
script: npm run semantic-release
stages:
- name: verify codestyle
- name: compile
- name: test
if: NOT branch =~ /^greenkeeper\/.*$/
- name: greenkeeper
if: branch =~ /^greenkeeper\/.*$/
- name: release
if: branch = master