Upgrade go version to 1.13 (#550)

Sustained Engineering
This commit is contained in:
Vatsalya Goel 2019-10-06 00:45:57 +10:00 committed by Craig Peterson
parent 813a186865
commit 443401d2a7
5 changed files with 5 additions and 4 deletions

View file

@ -1,7 +1,7 @@
language: go
go:
- 1.10.x
- 1.13.x
install: pwd

View file

@ -1,4 +1,4 @@
FROM golang:1.10-alpine AS build-env
FROM golang:1.13-alpine AS build-env
WORKDIR /go/src/github.com/StackExchange/dnscontrol
ADD . .
RUN apk update && apk add git

View file

@ -1,6 +1,6 @@
variables:
GOBIN: '$(GOPATH)/bin' # Go binaries path
GOROOT: '/usr/local/go1.12' # Go installation path
GOROOT: '/usr/local/go1.13' # Go installation path
GOPATH: '$(system.defaultWorkingDirectory)/gopath' # Go workspace path
modulePath: '$(GOPATH)/src/github.com/$(build.repository.name)' # Path to the module's code

View file

@ -1,6 +1,6 @@
variables:
GOBIN: '$(GOPATH)/bin' # Go binaries path
GOROOT: '/usr/local/go1.12' # Go installation path
GOROOT: '/usr/local/go1.13' # Go installation path
GOPATH: '$(system.defaultWorkingDirectory)/gopath' # Go workspace path
modulePath: '$(GOPATH)/src/github.com/$(build.repository.name)' # Path to the module's code
wd: '$(modulePath)/integrationTest'

View file

@ -24,6 +24,7 @@ var endIdx = flag.Int("end", 0, "Test index to stop after")
var verbose = flag.Bool("verbose", false, "Print corrections as you run them")
func init() {
testing.Init()
flag.Parse()
}