@@ -119,7 +119,7 @@ functions:
119
119
script : |
120
120
${PREPARE_SHELL}
121
121
# any go tools that we need
122
- go get -u github.com/golang /lint/golint
122
+ go get -u golang.org/x /lint/golint
123
123
go get -u github.com/kisielk/errcheck
124
124
125
125
# initialize submodules
@@ -261,7 +261,9 @@ functions:
261
261
else
262
262
export GOPATH=$(dirname $(dirname $(dirname $(dirname `pwd`))))
263
263
fi;
264
- export PATH="${GCC_PATH}:$PATH"
264
+ export GOPATH="$GOPATH"
265
+ export GOROOT="${GO_DIST}"
266
+ export PATH="${GCC_PATH}:${GO_DIST}/bin:$PATH"
265
267
MONGODB_URI="${MONGODB_URI}" MONGO_GO_DRIVER_COMPRESSOR="${MONGO_GO_DRIVER_COMPRESSOR}" make -s evg-test-auth
266
268
267
269
run-enterprise-gssapi-auth-tests :
@@ -284,7 +286,9 @@ functions:
284
286
kinit -k -t ${PROJECT_DIRECTORY}/.evergreen/drivers.keytab -p "${gssapi_auth_username}"
285
287
export MONGODB_URI="${gssapi_auth_linux_mongodb_uri}"
286
288
fi;
287
- export PATH="${GCC_PATH}:$PATH"
289
+ export GOPATH="$GOPATH"
290
+ export GOROOT="${GO_DIST}"
291
+ export PATH="${GCC_PATH}:${GO_DIST}/bin:$PATH"
288
292
MONGO_GO_DRIVER_COMPRESSOR="${MONGO_GO_DRIVER_COMPRESSOR}" make -s evg-test-auth
289
293
290
294
pre :
@@ -557,6 +561,14 @@ tasks:
557
561
targets : " build"
558
562
BUILD_ENV : " PATH=/opt/golang/go1.8/bin:$PATH GOROOT=/opt/golang/go1.8"
559
563
564
+ - name : go1.10-build
565
+ tags : ["compile-check"]
566
+ commands :
567
+ - func : run-make
568
+ vars :
569
+ targets : " build"
570
+ BUILD_ENV : " PATH=/opt/golang/go1.10/bin:$PATH GOROOT=/opt/golang/go1.10"
571
+
560
572
- name : linux-32-bit
561
573
tags : ["compile-check"]
562
574
commands :
@@ -609,23 +621,23 @@ axes:
609
621
- id : os
610
622
display_name : OS
611
623
values :
612
- - id : " windows-64"
624
+ - id : " windows-64-go-1-11 "
613
625
display_name : " Windows 64-bit"
614
626
run_on :
615
627
- windows-64-vs2015-test
616
628
variables :
617
629
GCC_PATH : " /cygdrive/c/mingw-w64/x86_64-4.9.1-posix-seh-rt_v3-rev1/mingw64/bin"
618
- GO_DIST : " C:\\ golang\\ go1.9.5 "
619
- - id : " ubuntu1604-64"
630
+ GO_DIST : " C:\\ golang\\ go1.11 "
631
+ - id : " ubuntu1604-64-go-1-11 "
620
632
display_name : " Ubuntu 16.04"
621
633
run_on : ubuntu1604-build
622
634
variables :
623
- GO_DIST : " /opt/golang/go1.9 "
624
- - id : osx
635
+ GO_DIST : " /opt/golang/go1.11 "
636
+ - id : " osx-go-1-11 "
625
637
display_name : " MacOS 10.12"
626
638
run_on : macos-1012
627
639
variables :
628
- GO_DIST : " /opt/golang/go1.9 "
640
+ GO_DIST : " /opt/golang/go1.11 "
629
641
630
642
631
643
buildvariants :
0 commit comments