This repository was archived by the owner on Aug 7, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +36
-19
lines changed Expand file tree Collapse file tree 1 file changed +36
-19
lines changed Original file line number Diff line number Diff line change 1
1
# ## Project specific config ###
2
- language : generic
2
+ language : node_js
3
+ node_js : lts/*
4
+ install : skip
5
+ os : linux
3
6
4
- matrix :
7
+ jobs :
5
8
include :
6
- - os : linux
9
+ # Test Atom versions
10
+ - stage : test
7
11
env : ATOM_CHANNEL=stable
8
-
9
- - os : linux
12
+ - stage : test
10
13
env : ATOM_CHANNEL=beta
11
14
15
+ # Check the commit messages and run the extra lint script
16
+ - stage : test
17
+ install :
18
+ - npm install
19
+ before_script : skip
20
+ script :
21
+ - commitlint-travis
22
+ - npm run lint
23
+
24
+ - stage : release
25
+ # Since the deploy needs APM, currently the simplest method is to run
26
+ # build-package.sh, which requires the specs to pass.
27
+ before_deploy :
28
+ - export PATH=${PATH}:${HOME}/atom/usr/bin/
29
+ deploy :
30
+ provider : script
31
+ skip_cleanup : true
32
+ script :
33
+ - npx semantic-release
34
+
12
35
# ## Generic setup follows ###
13
36
script :
14
37
- curl -s -O https://raw.githubusercontent.com/atom/ci/master/build-package.sh
15
38
- chmod u+x build-package.sh
16
- - ./build-package.sh
39
+ - " ./build-package.sh"
17
40
18
41
notifications :
19
42
email :
@@ -23,6 +46,7 @@ notifications:
23
46
branches :
24
47
only :
25
48
- master
49
+ - " /^greenkeeper/.*$/"
26
50
27
51
git :
28
52
depth : 10
@@ -35,18 +59,11 @@ addons:
35
59
apt :
36
60
packages :
37
61
- build-essential
38
- - fakeroot
39
62
- git
40
- - libsecret-1-dev
41
-
42
- node_js : lts/*
43
-
44
- after_success :
45
- # Add apm to the PATH
46
- - export PATH=${PATH}:${HOME}/atom/usr/bin/
63
+ - libgnome-keyring-dev
64
+ - fakeroot
47
65
48
- deploy :
49
- provider : script
50
- skip_cleanup : true
51
- script :
52
- - npx semantic-release
66
+ stages :
67
+ - test
68
+ - name : release
69
+ if : (NOT type = pull_request) AND branch = master
You can’t perform that action at this time.
0 commit comments