1
1
language : go
2
2
go_import_path : github.com/ethereum/go-ethereum
3
3
sudo : false
4
- matrix :
4
+ jobs :
5
5
include :
6
- - os : linux
6
+ # This builder only tests code linters on latest version of Go
7
+ - stage : lint
8
+ os : linux
9
+ dist : xenial
10
+ go : 1.12.x
11
+ env :
12
+ - lint
13
+ git :
14
+ submodules : false # avoid cloning ethereum/tests
15
+ script :
16
+ - go run build/ci.go lint
17
+
18
+ - stage : build
19
+ os : linux
7
20
dist : xenial
8
21
go : 1.10.x
9
22
script :
10
23
- go run build/ci.go install
11
24
- go run build/ci.go test -coverage $TEST_PACKAGES
12
25
13
- - os : linux
26
+ - stage : build
27
+ os : linux
14
28
dist : xenial
15
29
go : 1.11.x
16
30
script :
17
31
- go run build/ci.go install
18
32
- go run build/ci.go test -coverage $TEST_PACKAGES
19
33
20
34
# These are the latest Go versions.
21
- - os : linux
35
+ - stage : build
36
+ os : linux
22
37
dist : xenial
23
38
go : 1.12.x
24
39
script :
25
40
- go run build/ci.go install
26
41
- go run build/ci.go test -coverage $TEST_PACKAGES
27
42
28
- - os : osx
43
+ - stage : build
44
+ os : osx
29
45
go : 1.12.x
30
46
script :
31
47
- echo "Increase the maximum number of open file descriptors on macOS"
@@ -40,19 +56,9 @@ matrix:
40
56
- go run build/ci.go install
41
57
- go run build/ci.go test -coverage $TEST_PACKAGES
42
58
43
- # This builder only tests code linters on latest version of Go
44
- - os : linux
45
- dist : xenial
46
- go : 1.12.x
47
- env :
48
- - lint
49
- git :
50
- submodules : false # avoid cloning ethereum/tests
51
- script :
52
- - go run build/ci.go lint
53
-
54
59
# This builder does the Ubuntu PPA upload
55
- - if : type = push
60
+ - stage : build
61
+ if : type = push
56
62
os : linux
57
63
dist : xenial
58
64
go : 1.12.x
@@ -74,7 +80,8 @@ matrix:
74
80
-
go run build/ci.go debsrc -upload ethereum/ethereum -sftp-user geth-ci -signer "Go Ethereum Linux Builder <[email protected] >"
75
81
76
82
# This builder does the Linux Azure uploads
77
- - if : type = push
83
+ - stage : build
84
+ if : type = push
78
85
os : linux
79
86
dist : xenial
80
87
sudo : required
@@ -108,7 +115,8 @@ matrix:
108
115
- go run build/ci.go archive -arch arm64 -type tar -signer LINUX_SIGNING_KEY -upload gethstore/builds
109
116
110
117
# This builder does the Linux Azure MIPS xgo uploads
111
- - if : type = push
118
+ - stage : build
119
+ if : type = push
112
120
os : linux
113
121
dist : xenial
114
122
services :
@@ -136,7 +144,8 @@ matrix:
136
144
- go run build/ci.go archive -arch mips64le -type tar -signer LINUX_SIGNING_KEY -upload gethstore/builds
137
145
138
146
# This builder does the Android Maven and Azure uploads
139
- - if : type = push
147
+ - stage : build
148
+ if : type = push
140
149
os : linux
141
150
dist : xenial
142
151
addons :
@@ -173,7 +182,8 @@ matrix:
173
182
- go run build/ci.go aar -signer ANDROID_SIGNING_KEY -deploy https://oss.sonatype.org -upload gethstore/builds
174
183
175
184
# This builder does the OSX Azure, iOS CocoaPods and iOS Azure uploads
176
- - if : type = push
185
+ - stage : build
186
+ if : type = push
177
187
os : osx
178
188
go : 1.12.x
179
189
env :
@@ -202,7 +212,8 @@ matrix:
202
212
- go run build/ci.go xcode -signer IOS_SIGNING_KEY -deploy trunk -upload gethstore/builds
203
213
204
214
# This builder does the Azure archive purges to avoid accumulating junk
205
- - if : type = cron
215
+ - stage : build
216
+ if : type = cron
206
217
os : linux
207
218
dist : xenial
208
219
go : 1.12.x
0 commit comments