Skip to content

Commit 920a287

Browse files
authored
.travis.yml: move test builders after install builders (#21833)
1 parent d494074 commit 920a287

File tree

1 file changed

+31
-31
lines changed

1 file changed

+31
-31
lines changed

.travis.yml

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -24,37 +24,6 @@ jobs:
2424
script:
2525
- go run build/ci.go lint
2626

27-
- stage: build
28-
os: linux
29-
dist: xenial
30-
go: 1.14.x
31-
env:
32-
- GO111MODULE=on
33-
script:
34-
- go run build/ci.go test -coverage $TEST_PACKAGES
35-
36-
# These are the latest Go versions.
37-
- stage: build
38-
os: linux
39-
arch: amd64
40-
dist: xenial
41-
go: 1.15.x
42-
env:
43-
- GO111MODULE=on
44-
script:
45-
- go run build/ci.go test -coverage $TEST_PACKAGES
46-
47-
- stage: build
48-
if: type = pull_request
49-
os: linux
50-
arch: arm64
51-
dist: xenial
52-
go: 1.15.x
53-
env:
54-
- GO111MODULE=on
55-
script:
56-
- go run build/ci.go test -coverage $TEST_PACKAGES
57-
5827
# This builder does the Ubuntu PPA upload
5928
- stage: build
6029
if: type = push
@@ -215,6 +184,37 @@ jobs:
215184
- export CGO_CFLAGS_ALLOW='-fmodules|-fblocks|-fobjc-arc'
216185
- go run build/ci.go xcode -signer IOS_SIGNING_KEY -deploy trunk -upload gethstore/builds
217186

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+
218218
# This builder does the Azure archive purges to avoid accumulating junk
219219
- stage: build
220220
if: type = cron

0 commit comments

Comments
 (0)