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