File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -44,10 +44,15 @@ script:
44
44
make get-deps;
45
45
make unit-no-verify;
46
46
else
47
- if [ $TRAVIS_GO_VERSION == "1.13.x" ] ||
48
- [ $TRAVIS_GO_VERSION == "tip" ]; then
47
+ if [ ! -z $(go env GOMOD) ] ||
49
48
make ci-test;
50
49
else
50
+ if [ $TRAVIS_GO_VERSION == "1.12.x" ] ||
51
+ [ $TRAVIS_GO_VERSION == "1.11.x" ] ||
52
+ [ $TRAVIS_GO_VERSION == "1.10.x" ]; then
53
+ make get-deps-x-tests;
54
+ fi
55
+
51
56
make get-deps;
52
57
make unit-old-go-race-cover;
53
58
fi
Original file line number Diff line number Diff line change @@ -201,10 +201,15 @@ vet:
201
201
# ###############
202
202
# Dependencies #
203
203
# ###############
204
+ get-deps
204
205
get-deps :
205
206
@echo " getting pre go module dependnecies"
206
207
go get github.com/jmespath/go-jmespath
207
208
209
+ get-deps-x-tests :
210
+ @echo " go get SDK testing golang.org/x dependencies"
211
+ go get golang.org/x/net/http2
212
+
208
213
# #############
209
214
# Benchmarks #
210
215
# #############
You can’t perform that action at this time.
0 commit comments