forked from probot/probot
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
30 lines (27 loc) 路 706 Bytes
/
Copy path.travis.yml
File metadata and controls
30 lines (27 loc) 路 706 Bytes
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
language: node_js
cache: npm
branches:
only:
- master
- beta # semantic-release preview releases
- next # semantic-release @next releases
- /^\d+\.x$/ # semantic-release maintenance releases
- /^greenkeeper.*$/ # Greenkeeper updates
stages:
- test
- name: release
if: branch =~ /^(\d+\.x|master|next|beta)$/ AND type IN (push)
jobs:
include:
- stage: test
node_js: 10
before_script: npm run build
- node_js: 8
env: test & coverage upload
before_script: npm run build
after_script: npx codecov
- stage: release
node_js: lts/*
env: semantic-release
before_script: npm run build
script: npx semantic-release