@@ -134,9 +134,14 @@ functions:
134
134
working_dir : src/go.mongodb.org/mongo-driver
135
135
script : |
136
136
${PREPARE_SHELL}
137
- # any go tools that we need
137
+
138
+ # Install any go tools that we need. Do this in a temp directory because running "go get" inside the driver
139
+ # repo will update the driver's go.mod/go.sum files. This puts the contents of go.mod/go.sum out of sync with
140
+ # the vendor directory and tests fail to compile due to inconsistent vendoring.
141
+ cd $(mktemp -d)
138
142
go get -u golang.org/x/lint/golint
139
143
go get -u github.com/kisielk/errcheck
144
+ cd -
140
145
141
146
# initialize submodules
142
147
git submodule init
@@ -1526,61 +1531,61 @@ axes:
1526
1531
- id : os-ssl-legacy
1527
1532
display_name : OS
1528
1533
values :
1529
- - id : " ubuntu1404-go-1-13 "
1534
+ - id : " ubuntu1404-go-1-15 "
1530
1535
display_name : " Ubuntu 14.04"
1531
1536
run_on : ubuntu1404-test
1532
1537
variables :
1533
- GO_DIST : " /opt/golang/go1.13 "
1538
+ GO_DIST : " /opt/golang/go1.15 "
1534
1539
1535
1540
# OSes that require >= 3.2 for SSL
1536
1541
- id : os-ssl-32
1537
1542
display_name : OS
1538
1543
values :
1539
- - id : " windows-64-go-1-13 "
1544
+ - id : " windows-64-go-1-15 "
1540
1545
display_name : " Windows 64-bit"
1541
1546
run_on :
1542
1547
- windows-64-vs2017-test
1543
1548
variables :
1544
1549
GCC_PATH : " /cygdrive/c/mingw-w64/x86_64-4.9.1-posix-seh-rt_v3-rev1/mingw64/bin"
1545
- GO_DIST : " C:\\ golang\\ go1.13 "
1550
+ GO_DIST : " C:\\ golang\\ go1.15 "
1546
1551
PYTHON3_BINARY : " C:/python/Python38/python.exe"
1547
1552
VENV_BIN_DIR : " Scripts"
1548
- - id : " ubuntu1604-64-go-1-13 "
1553
+ - id : " ubuntu1604-64-go-1-15 "
1549
1554
display_name : " Ubuntu 16.04"
1550
1555
run_on : ubuntu1604-build
1551
1556
variables :
1552
- GO_DIST : " /opt/golang/go1.13 "
1557
+ GO_DIST : " /opt/golang/go1.15 "
1553
1558
PYTHON3_BINARY : " /opt/python/3.8/bin/python3"
1554
- - id : " osx-go-1-13 "
1559
+ - id : " osx-go-1-15 "
1555
1560
display_name : " MacOS 10.14"
1556
1561
run_on : macos-1014
1557
1562
variables :
1558
- GO_DIST : " /opt/golang/go1.13 "
1563
+ GO_DIST : " /opt/golang/go1.15 "
1559
1564
PYTHON3_BINARY : python3
1560
1565
1561
1566
- id : os-aws-auth
1562
1567
display_name : OS
1563
1568
values :
1564
- - id : " windows-64-vsMulti-small-go-1-13 "
1569
+ - id : " windows-64-vsMulti-small-go-1-15 "
1565
1570
display_name : " Windows 64-bit"
1566
1571
run_on :
1567
1572
- windows-64-vsMulti-small
1568
1573
variables :
1569
1574
GCC_PATH : " /cygdrive/c/mingw-w64/x86_64-4.9.1-posix-seh-rt_v3-rev1/mingw64/bin"
1570
- GO_DIST : " C:\\ golang\\ go1.13 "
1575
+ GO_DIST : " C:\\ golang\\ go1.15 "
1571
1576
SKIP_ECS_AUTH_TEST : true
1572
1577
PYTHON3 : " C:/python/Python38/python.exe"
1573
- - id : " ubuntu1804-64-go-1-13 "
1578
+ - id : " ubuntu1804-64-go-1-15 "
1574
1579
display_name : " Ubuntu 18.04"
1575
1580
run_on : ubuntu1804-test
1576
1581
variables :
1577
- GO_DIST : " /opt/golang/go1.13 "
1582
+ GO_DIST : " /opt/golang/go1.15 "
1578
1583
PYTHON3 : python3
1579
- - id : " osx-go-1-13 "
1584
+ - id : " osx-go-1-15 "
1580
1585
display_name : " MacOS 10.14"
1581
1586
run_on : macos-1014
1582
1587
variables :
1583
- GO_DIST : " /opt/golang/go1.13 "
1588
+ GO_DIST : " /opt/golang/go1.15 "
1584
1589
SKIP_ECS_AUTH_TEST : true
1585
1590
SKIP_EC2_AUTH_TEST : true
1586
1591
PYTHON3 : python3
@@ -1591,7 +1596,7 @@ buildvariants:
1591
1596
run_on :
1592
1597
- ubuntu1604-build
1593
1598
expansions :
1594
- GO_DIST : " /opt/golang/go1.13 "
1599
+ GO_DIST : " /opt/golang/go1.15 "
1595
1600
tasks :
1596
1601
- name : " .static-analysis"
1597
1602
@@ -1600,7 +1605,7 @@ buildvariants:
1600
1605
run_on :
1601
1606
- ubuntu1604-build
1602
1607
expansions :
1603
- GO_DIST : " /opt/golang/go1.13 "
1608
+ GO_DIST : " /opt/golang/go1.15 "
1604
1609
tasks :
1605
1610
- name : " .performance"
1606
1611
@@ -1609,7 +1614,7 @@ buildvariants:
1609
1614
run_on :
1610
1615
- ubuntu1604-test
1611
1616
expansions :
1612
- GO_DIST : " /opt/golang/go1.13 "
1617
+ GO_DIST : " /opt/golang/go1.15 "
1613
1618
tasks :
1614
1619
- name : " .compile-check"
1615
1620
@@ -1618,7 +1623,7 @@ buildvariants:
1618
1623
run_on :
1619
1624
- ubuntu1604-build
1620
1625
expansions :
1621
- GO_DIST : " /opt/golang/go1.13 "
1626
+ GO_DIST : " /opt/golang/go1.15 "
1622
1627
tasks :
1623
1628
- name : " atlas-test"
1624
1629
@@ -1672,22 +1677,22 @@ buildvariants:
1672
1677
- name : " aws-auth-test"
1673
1678
1674
1679
- matrix_name : " ocsp-test"
1675
- matrix_spec : { version: ["4.4", "latest"], os-ssl-32: ["ubuntu1604-64-go-1-13 "] }
1680
+ matrix_spec : { version: ["4.4", "latest"], os-ssl-32: ["ubuntu1604-64-go-1-15 "] }
1676
1681
display_name : " OCSP ${version} ${os-ssl-32}"
1677
1682
batchtime : 20160 # 14 days
1678
1683
tasks :
1679
1684
- name : " .ocsp"
1680
1685
1681
1686
- matrix_name : " ocsp-test-windows"
1682
- matrix_spec : { version: ["4.4", "latest"], os-ssl-32: ["windows-64-go-1-13 "] }
1687
+ matrix_spec : { version: ["4.4", "latest"], os-ssl-32: ["windows-64-go-1-15 "] }
1683
1688
display_name : " OCSP ${version} ${os-ssl-32}"
1684
1689
batchtime : 20160 # 14 days
1685
1690
tasks :
1686
1691
# Windows MongoDB servers do not staple OCSP responses and only support RSA.
1687
1692
- name : " .ocsp-rsa !.ocsp-staple"
1688
1693
1689
1694
- matrix_name : " ocsp-test-macos"
1690
- matrix_spec : { version: ["4.4", "latest"], os-ssl-32: ["osx-go-1-13 "] }
1695
+ matrix_spec : { version: ["4.4", "latest"], os-ssl-32: ["osx-go-1-15 "] }
1691
1696
display_name : " OCSP ${version} ${os-ssl-32}"
1692
1697
batchtime : 20160 # 14 days
1693
1698
tasks :
0 commit comments