-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.travis.yml
60 lines (49 loc) · 950 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
### Project specific config ###
language: node_js
node_js: lts/*
os: linux
env:
matrix:
- ATOM_CHANNEL=stable
- ATOM_CHANNEL=beta
script:
- commitlint-travis
stages:
- test
- name: release
if: (NOT type = pull_request) AND branch = master
jobs:
include:
- stage: release
node_js: lts/*
script:
- export PATH=${PATH}:${HOME}/atom/usr/bin/
deploy:
provider: script
skip_cleanup: true
script:
- npx semantic-release
### Generic setup follows ###
install:
- curl -s -O https://raw.githubusercontent.com/atom/ci/master/build-package.sh
- chmod u+x build-package.sh
- "./build-package.sh"
notifications:
email:
on_success: never
on_failure: change
branches:
only:
- master
- "/^greenkeeper/.*$/"
git:
depth: 10
sudo: false
dist: trusty
addons:
apt:
packages:
- build-essential
- fakeroot
- git
- libsecret-1-dev