This repository was archived by the owner on Aug 7, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +54
-11
lines changed Expand file tree Collapse file tree 3 files changed +54
-11
lines changed Original file line number Diff line number Diff line change 2
2
.idea
3
3
npm-debug.log
4
4
node_modules /*
5
- .github_changelog_generator
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
+ os : linux
3
5
4
- matrix :
6
+ jobs :
5
7
include :
6
- - os : linux
8
+ # Test Atom versions
9
+ - stage : test
7
10
env : ATOM_CHANNEL=stable
8
-
9
- - os : linux
11
+ - stage : test
10
12
env : ATOM_CHANNEL=beta
11
13
14
+ # Check the commit messages and run the extra lint script
15
+ - stage : test
16
+ install :
17
+ - npm install
18
+ script :
19
+ - commitlint-travis
20
+
21
+ - stage : release
22
+ # Since the deploy needs APM, currently the simplest method is to run
23
+ # build-package.sh, which requires the specs to pass.
24
+ before_script :
25
+ - export PATH=${PATH}:${HOME}/atom/usr/bin/
26
+ deploy :
27
+ provider : script
28
+ skip_cleanup : true
29
+ script :
30
+ - npx semantic-release
31
+
12
32
# ## Generic setup follows ###
13
- script :
33
+ install :
14
34
- curl -s -O https://raw.githubusercontent.com/atom/ci/master/build-package.sh
15
35
- chmod u+x build-package.sh
16
- - ./build-package.sh
36
+ - " ./build-package.sh"
17
37
18
38
notifications :
19
39
email :
@@ -23,6 +43,7 @@ notifications:
23
43
branches :
24
44
only :
25
45
- master
46
+ - " /^greenkeeper/.*$/"
26
47
27
48
git :
28
49
depth : 10
@@ -35,6 +56,11 @@ addons:
35
56
apt :
36
57
packages :
37
58
- build-essential
38
- - fakeroot
39
59
- git
40
- - libsecret-1-dev
60
+ - libgnome-keyring-dev
61
+ - fakeroot
62
+
63
+ stages :
64
+ - test
65
+ - name : release
66
+ if : (NOT type = pull_request) AND branch = master
Original file line number Diff line number Diff line change 9
9
"main" : " ./lib/main" ,
10
10
"version" : " 2.0.0" ,
11
11
"description" : " Lint CSS on the fly, using csslint" ,
12
- "repository" : " https://github.com/AtomLinter/linter-csslint" ,
12
+ "repository" : {
13
+ "type" : " git" ,
14
+ "url" : " https://github.com/AtomLinter/linter-csslint.git"
15
+ },
13
16
"license" : " MIT" ,
14
17
"private" : true ,
15
18
"configSchema" : {
29
32
"fs-plus" : " ^3.0.1"
30
33
},
31
34
"devDependencies" : {
35
+ "@commitlint/cli" : " ^6.1.3" ,
36
+ "@commitlint/config-conventional" : " ^6.1.3" ,
37
+ "@commitlint/travis-cli" : " ^6.1.3" ,
38
+ "@semantic-release/apm-config" : " ^2.0.1" ,
39
+ "husky" : " ^0.14.3" ,
40
+ "semantic-release" : " ^15.1.7" ,
32
41
"eslint" : " ^4.6.0" ,
33
42
"eslint-config-airbnb-base" : " ^12.0.0" ,
34
43
"eslint-plugin-import" : " ^2.7.0" ,
38
47
" linter:2.0.0"
39
48
],
40
49
"scripts" : {
50
+ "commitmsg" : " commitlint -e $GIT_PARAMS" ,
41
51
"lint" : " eslint ." ,
42
52
"test" : " apm test"
43
53
},
68
78
"2.0.0" : " provideLinter"
69
79
}
70
80
}
81
+ },
82
+ "release" : {
83
+ "extends" : " @semantic-release/apm-config"
84
+ },
85
+ "commitlint" : {
86
+ "extends" : [
87
+ " @commitlint/config-conventional"
88
+ ]
71
89
}
72
90
}
You can’t perform that action at this time.
0 commit comments