55 allow_failures :
66 - stage : build
77 os : osx
8- go : 1.14 .x
8+ go : 1.15 .x
99 env :
1010 - azure-osx
1111 - azure-ios
1515 # This builder only tests code linters on latest version of Go
1616 - stage : lint
1717 os : linux
18- dist : xenial
19- go : 1.15 .x
18+ dist : bionic
19+ go : 1.16 .x
2020 env :
2121 - lint
2222 git :
2828 - stage : build
2929 if : type = push
3030 os : linux
31- dist : xenial
32- go : 1.15 .x
31+ dist : bionic
32+ go : 1.16 .x
3333 env :
3434 - ubuntu-ppa
3535 - GO111MODULE=on
5252 - stage : build
5353 if : type = push
5454 os : linux
55- dist : xenial
55+ dist : bionic
5656 sudo : required
57- go : 1.15 .x
57+ go : 1.16 .x
5858 env :
5959 - azure-linux
6060 - GO111MODULE=on
@@ -67,31 +67,31 @@ jobs:
6767 script :
6868 # Build for the primary platforms that Trusty can manage
6969 - go run build/ci.go install -dlgo
70- - go run build/ci.go archive -type tar -signer LINUX_SIGNING_KEY -upload gethstore/builds
70+ - go run build/ci.go archive -type tar -signer LINUX_SIGNING_KEY -signify SIGNIFY_KEY - upload gethstore/builds
7171 - go run build/ci.go install -dlgo -arch 386
72- - go run build/ci.go archive -arch 386 -type tar -signer LINUX_SIGNING_KEY -upload gethstore/builds
72+ - go run build/ci.go archive -arch 386 -type tar -signer LINUX_SIGNING_KEY -signify SIGNIFY_KEY - upload gethstore/builds
7373
7474 # Switch over GCC to cross compilation (breaks 386, hence why do it here only)
7575 - 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
7676 - sudo ln -s /usr/include/asm-generic /usr/include/asm
7777
7878 - GOARM=5 go run build/ci.go install -dlgo -arch arm -cc arm-linux-gnueabi-gcc
79- - GOARM=5 go run build/ci.go archive -arch arm -type tar -signer LINUX_SIGNING_KEY -upload gethstore/builds
79+ - GOARM=5 go run build/ci.go archive -arch arm -type tar -signer LINUX_SIGNING_KEY -signify SIGNIFY_KEY - upload gethstore/builds
8080 - GOARM=6 go run build/ci.go install -dlgo -arch arm -cc arm-linux-gnueabi-gcc
81- - GOARM=6 go run build/ci.go archive -arch arm -type tar -signer LINUX_SIGNING_KEY -upload gethstore/builds
81+ - GOARM=6 go run build/ci.go archive -arch arm -type tar -signer LINUX_SIGNING_KEY -signify SIGNIFY_KEY - upload gethstore/builds
8282 - GOARM=7 go run build/ci.go install -dlgo -arch arm -cc arm-linux-gnueabihf-gcc
83- - GOARM=7 go run build/ci.go archive -arch arm -type tar -signer LINUX_SIGNING_KEY -upload gethstore/builds
83+ - GOARM=7 go run build/ci.go archive -arch arm -type tar -signer LINUX_SIGNING_KEY -signify SIGNIFY_KEY - upload gethstore/builds
8484 - go run build/ci.go install -dlgo -arch arm64 -cc aarch64-linux-gnu-gcc
85- - go run build/ci.go archive -arch arm64 -type tar -signer LINUX_SIGNING_KEY -upload gethstore/builds
85+ - go run build/ci.go archive -arch arm64 -type tar -signer LINUX_SIGNING_KEY -signify SIGNIFY_KEY - upload gethstore/builds
8686
8787 # This builder does the Linux Azure MIPS xgo uploads
8888 - stage : build
8989 if : type = push
9090 os : linux
91- dist : xenial
91+ dist : bionic
9292 services :
9393 - docker
94- go : 1.15 .x
94+ go : 1.16 .x
9595 env :
9696 - azure-linux-mips
9797 - GO111MODULE=on
@@ -100,64 +100,63 @@ jobs:
100100 script :
101101 - go run build/ci.go xgo --alltools -- --targets=linux/mips --ldflags '-extldflags "-static"' -v
102102 - for bin in build/bin/*-linux-mips; do mv -f "${bin}" "${bin/-linux-mips/}"; done
103- - go run build/ci.go archive -arch mips -type tar -signer LINUX_SIGNING_KEY -upload gethstore/builds
103+ - go run build/ci.go archive -arch mips -type tar -signer LINUX_SIGNING_KEY -signify SIGNIFY_KEY - upload gethstore/builds
104104
105105 - go run build/ci.go xgo --alltools -- --targets=linux/mipsle --ldflags '-extldflags "-static"' -v
106106 - for bin in build/bin/*-linux-mipsle; do mv -f "${bin}" "${bin/-linux-mipsle/}"; done
107- - go run build/ci.go archive -arch mipsle -type tar -signer LINUX_SIGNING_KEY -upload gethstore/builds
107+ - go run build/ci.go archive -arch mipsle -type tar -signer LINUX_SIGNING_KEY -signify SIGNIFY_KEY - upload gethstore/builds
108108
109109 - go run build/ci.go xgo --alltools -- --targets=linux/mips64 --ldflags '-extldflags "-static"' -v
110110 - for bin in build/bin/*-linux-mips64; do mv -f "${bin}" "${bin/-linux-mips64/}"; done
111- - go run build/ci.go archive -arch mips64 -type tar -signer LINUX_SIGNING_KEY -upload gethstore/builds
111+ - go run build/ci.go archive -arch mips64 -type tar -signer LINUX_SIGNING_KEY signify SIGNIFY_KEY -upload gethstore/builds
112112
113113 - go run build/ci.go xgo --alltools -- --targets=linux/mips64le --ldflags '-extldflags "-static"' -v
114114 - for bin in build/bin/*-linux-mips64le; do mv -f "${bin}" "${bin/-linux-mips64le/}"; done
115- - go run build/ci.go archive -arch mips64le -type tar -signer LINUX_SIGNING_KEY -upload gethstore/builds
115+ - go run build/ci.go archive -arch mips64le -type tar -signer LINUX_SIGNING_KEY -signify SIGNIFY_KEY - upload gethstore/builds
116116
117117 # This builder does the Android Maven and Azure uploads
118118 - stage : build
119119 if : type = push
120120 os : linux
121- dist : xenial
121+ dist : bionic
122122 addons :
123123 apt :
124124 packages :
125- - oracle-java8-installer
126- - oracle-java8-set-default
127- language : android
128- android :
129- components :
130- - platform-tools
131- - tools
132- - android-15
133- - android-19
134- - android-24
125+ - openjdk-8-jdk
135126 env :
136127 - azure-android
137128 - maven-android
138129 - GO111MODULE=on
139130 git :
140131 submodules : false # avoid cloning ethereum/tests
141132 before_install :
142- - curl https://dl.google.com/go/go1.15.5.linux-amd64.tar.gz | tar -xz
133+ # Install Android and it's dependencies manually, Travis is stale
134+ - export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
135+ - curl https://dl.google.com/android/repository/commandlinetools-linux-6858069_latest.zip -o android.zip
136+ - unzip -q android.zip -d $HOME/sdk && rm android.zip
137+ - mv $HOME/sdk/cmdline-tools $HOME/sdk/latest && mkdir $HOME/sdk/cmdline-tools && mv $HOME/sdk/latest $HOME/sdk/cmdline-tools
138+ - export PATH=$PATH:$HOME/sdk/cmdline-tools/latest/bin
139+ - export ANDROID_HOME=$HOME/sdk
140+
141+ - yes | sdkmanager --licenses >/dev/null
142+ - sdkmanager "platform-tools" "platforms;android-15" "platforms;android-19" "platforms;android-24" "ndk-bundle"
143+
144+ # Install Go to allow building with
145+ - curl https://dl.google.com/go/go1.16.linux-amd64.tar.gz | tar -xz
143146 - export PATH=`pwd`/go/bin:$PATH
144147 - export GOROOT=`pwd`/go
145148 - export GOPATH=$HOME/go
146149 script :
147150 # Build the Android archive and upload it to Maven Central and Azure
148- - curl https://dl.google.com/android/repository/android-ndk-r19b-linux-x86_64.zip -o android-ndk-r19b.zip
149- - unzip -q android-ndk-r19b.zip && rm android-ndk-r19b.zip
150- - mv android-ndk-r19b $ANDROID_HOME/ndk-bundle
151-
152151 - mkdir -p $GOPATH/src/github.com/ethereum
153152 - ln -s `pwd` $GOPATH/src/github.com/ethereum/go-ethereum
154- - go run build/ci.go aar -signer ANDROID_SIGNING_KEY -deploy https://oss.sonatype.org -upload gethstore/builds
153+ - go run build/ci.go aar -signer ANDROID_SIGNING_KEY -signify SIGNIFY_KEY - deploy https://oss.sonatype.org -upload gethstore/builds
155154
156155 # This builder does the OSX Azure, iOS CocoaPods and iOS Azure uploads
157156 - stage : build
158157 if : type = push
159158 os : osx
160- go : 1.15 .x
159+ go : 1.16 .x
161160 env :
162161 - azure-osx
163162 - azure-ios
@@ -167,7 +166,7 @@ jobs:
167166 submodules : false # avoid cloning ethereum/tests
168167 script :
169168 - go run build/ci.go install -dlgo
170- - go run build/ci.go archive -type tar -signer OSX_SIGNING_KEY -upload gethstore/builds
169+ - go run build/ci.go archive -type tar -signer OSX_SIGNING_KEY -signify SIGNIFY_KEY - upload gethstore/builds
171170
172171 # Build the iOS framework and upload it to CocoaPods and Azure
173172 - gem uninstall cocoapods -a -x
@@ -182,14 +181,14 @@ jobs:
182181
183182 # Workaround for https://github.com/golang/go/issues/23749
184183 - export CGO_CFLAGS_ALLOW='-fmodules|-fblocks|-fobjc-arc'
185- - go run build/ci.go xcode -signer IOS_SIGNING_KEY -deploy trunk -upload gethstore/builds
184+ - go run build/ci.go xcode -signer IOS_SIGNING_KEY -signify SIGNIFY_KEY - deploy trunk -upload gethstore/builds
186185
187186 # These builders run the tests
188187 - stage : build
189188 os : linux
190189 arch : amd64
191- dist : xenial
192- go : 1.15 .x
190+ dist : bionic
191+ go : 1.16 .x
193192 env :
194193 - GO111MODULE=on
195194 script :
@@ -199,17 +198,17 @@ jobs:
199198 if : type = pull_request
200199 os : linux
201200 arch : arm64
202- dist : xenial
203- go : 1.15 .x
201+ dist : bionic
202+ go : 1.16 .x
204203 env :
205204 - GO111MODULE=on
206205 script :
207206 - go run build/ci.go test -coverage $TEST_PACKAGES
208207
209208 - stage : build
210209 os : linux
211- dist : xenial
212- go : 1.14 .x
210+ dist : bionic
211+ go : 1.15 .x
213212 env :
214213 - GO111MODULE=on
215214 script :
@@ -219,8 +218,8 @@ jobs:
219218 - stage : build
220219 if : type = cron
221220 os : linux
222- dist : xenial
223- go : 1.15 .x
221+ dist : bionic
222+ go : 1.16 .x
224223 env :
225224 - azure-purge
226225 - GO111MODULE=on
0 commit comments