2424 script :
2525 - go run build/ci.go lint
2626
27- - stage : build
28- os : linux
29- dist : xenial
30- go : 1.13.x
31- env :
32- - GO111MODULE=on
33- script :
34- - go run build/ci.go install
35- - go run build/ci.go test -coverage $TEST_PACKAGES
36-
37- - stage : build
38- os : linux
39- dist : xenial
40- go : 1.14.x
41- env :
42- - GO111MODULE=on
43- script :
44- - go run build/ci.go install
45- - go run build/ci.go test -coverage $TEST_PACKAGES
46-
47- # These are the latest Go versions.
48- - stage : build
49- os : linux
50- arch : amd64
51- dist : xenial
52- go : 1.15.x
53- env :
54- - GO111MODULE=on
55- script :
56- - go run build/ci.go install
57- - go run build/ci.go test -coverage $TEST_PACKAGES
58-
59- - stage : build
60- if : type = pull_request
61- os : linux
62- arch : arm64
63- dist : xenial
64- go : 1.15.x
65- env :
66- - GO111MODULE=on
67- script :
68- - go run build/ci.go install
69- - go run build/ci.go test -coverage $TEST_PACKAGES
70-
71- - stage : build
72- os : osx
73- osx_image : xcode11.3
74- go : 1.15.x
75- env :
76- - GO111MODULE=on
77- script :
78- - echo "Increase the maximum number of open file descriptors on macOS"
79- - NOFILE=20480
80- - sudo sysctl -w kern.maxfiles=$NOFILE
81- - sudo sysctl -w kern.maxfilesperproc=$NOFILE
82- - sudo launchctl limit maxfiles $NOFILE $NOFILE
83- - sudo launchctl limit maxfiles
84- - ulimit -S -n $NOFILE
85- - ulimit -n
86- - unset -f cd # workaround for https://github.com/travis-ci/travis-ci/issues/8703
87- - go run build/ci.go install
88- - go run build/ci.go test -coverage $TEST_PACKAGES
89-
9027 # This builder does the Ubuntu PPA upload
9128 - stage : build
9229 if : type = push
10946 - python-paramiko
11047 script :
11148 - echo '|1|7SiYPr9xl3uctzovOTj4gMwAC1M=|t6ReES75Bo/PxlOPJ6/GsGbTrM0= ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA0aKz5UTUndYgIGG7dQBV+HaeuEZJ2xPHo2DS2iSKvUL4xNMSAY4UguNW+pX56nAQmZKIZZ8MaEvSj6zMEDiq6HFfn5JcTlM80UwlnyKe8B8p7Nk06PPQLrnmQt5fh0HmEcZx+JU9TZsfCHPnX7MNz4ELfZE6cFsclClrKim3BHUIGq//t93DllB+h4O9LHjEUsQ1Sr63irDLSutkLJD6RXchjROXkNirlcNVHH/jwLWR5RcYilNX7S5bIkK8NlWPjsn/8Ua5O7I9/YoE97PpO6i73DTGLh5H9JN/SITwCKBkgSDWUt61uPK3Y11Gty7o2lWsBjhBUm2Y38CBsoGmBw==' >> ~/.ssh/known_hosts
112- -
go run build/ci.go debsrc -goversion 1.15 - upload ethereum/ethereum -sftp-user geth-ci -signer "Go Ethereum Linux Builder <[email protected] >" 49+ -
go run build/ci.go debsrc -upload ethereum/ethereum -sftp-user geth-ci -signer "Go Ethereum Linux Builder <[email protected] >" 11350
11451 # This builder does the Linux Azure uploads
11552 - stage : build
@@ -129,22 +66,22 @@ jobs:
12966 - gcc-multilib
13067 script :
13168 # Build for the primary platforms that Trusty can manage
132- - go run build/ci.go install
69+ - go run build/ci.go install -dlgo
13370 - go run build/ci.go archive -type tar -signer LINUX_SIGNING_KEY -upload gethstore/builds
134- - go run build/ci.go install -arch 386
71+ - go run build/ci.go install -dlgo - arch 386
13572 - go run build/ci.go archive -arch 386 -type tar -signer LINUX_SIGNING_KEY -upload gethstore/builds
13673
13774 # Switch over GCC to cross compilation (breaks 386, hence why do it here only)
13875 - sudo -E apt-get -yq --no-install-suggests --no-install-recommends --force-yes install gcc-arm-linux-gnueabi libc6-dev-armel-cross gcc-arm-linux-gnueabihf libc6-dev-armhf-cross gcc-aarch64-linux-gnu libc6-dev-arm64-cross
13976 - sudo ln -s /usr/include/asm-generic /usr/include/asm
14077
141- - GOARM=5 go run build/ci.go install -arch arm -cc arm-linux-gnueabi-gcc
78+ - GOARM=5 go run build/ci.go install -dlgo - arch arm -cc arm-linux-gnueabi-gcc
14279 - GOARM=5 go run build/ci.go archive -arch arm -type tar -signer LINUX_SIGNING_KEY -upload gethstore/builds
143- - GOARM=6 go run build/ci.go install -arch arm -cc arm-linux-gnueabi-gcc
80+ - GOARM=6 go run build/ci.go install -dlgo - arch arm -cc arm-linux-gnueabi-gcc
14481 - GOARM=6 go run build/ci.go archive -arch arm -type tar -signer LINUX_SIGNING_KEY -upload gethstore/builds
145- - GOARM=7 go run build/ci.go install -arch arm -cc arm-linux-gnueabihf-gcc
82+ - GOARM=7 go run build/ci.go install -dlgo - arch arm -cc arm-linux-gnueabihf-gcc
14683 - GOARM=7 go run build/ci.go archive -arch arm -type tar -signer LINUX_SIGNING_KEY -upload gethstore/builds
147- - go run build/ci.go install -arch arm64 -cc aarch64-linux-gnu-gcc
84+ - go run build/ci.go install -dlgo - arch arm64 -cc aarch64-linux-gnu-gcc
14885 - go run build/ci.go archive -arch arm64 -type tar -signer LINUX_SIGNING_KEY -upload gethstore/builds
14986
15087 # This builder does the Linux Azure MIPS xgo uploads
@@ -202,7 +139,7 @@ jobs:
202139 git :
203140 submodules : false # avoid cloning ethereum/tests
204141 before_install :
205- - curl https://dl.google.com/go/go1.15.linux-amd64.tar.gz | tar -xz
142+ - curl https://dl.google.com/go/go1.15.5. linux-amd64.tar.gz | tar -xz
206143 - export PATH=`pwd`/go/bin:$PATH
207144 - export GOROOT=`pwd`/go
208145 - export GOPATH=$HOME/go
@@ -229,7 +166,7 @@ jobs:
229166 git :
230167 submodules : false # avoid cloning ethereum/tests
231168 script :
232- - go run build/ci.go install
169+ - go run build/ci.go install -dlgo
233170 - go run build/ci.go archive -type tar -signer OSX_SIGNING_KEY -upload gethstore/builds
234171
235172 # Build the iOS framework and upload it to CocoaPods and Azure
@@ -247,6 +184,37 @@ jobs:
247184 - export CGO_CFLAGS_ALLOW='-fmodules|-fblocks|-fobjc-arc'
248185 - go run build/ci.go xcode -signer IOS_SIGNING_KEY -deploy trunk -upload gethstore/builds
249186
187+ # These builders run the tests
188+ - stage : build
189+ os : linux
190+ arch : amd64
191+ dist : xenial
192+ go : 1.15.x
193+ env :
194+ - GO111MODULE=on
195+ script :
196+ - go run build/ci.go test -coverage $TEST_PACKAGES
197+
198+ - stage : build
199+ if : type = pull_request
200+ os : linux
201+ arch : arm64
202+ dist : xenial
203+ go : 1.15.x
204+ env :
205+ - GO111MODULE=on
206+ script :
207+ - go run build/ci.go test -coverage $TEST_PACKAGES
208+
209+ - stage : build
210+ os : linux
211+ dist : xenial
212+ go : 1.14.x
213+ env :
214+ - GO111MODULE=on
215+ script :
216+ - go run build/ci.go test -coverage $TEST_PACKAGES
217+
250218 # This builder does the Azure archive purges to avoid accumulating junk
251219 - stage : build
252220 if : type = cron
0 commit comments