mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-01-10 09:27:46 +08:00
parent
813a186865
commit
443401d2a7
5 changed files with 5 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
|||
language: go
|
||||
|
||||
go:
|
||||
- 1.10.x
|
||||
- 1.13.x
|
||||
|
||||
install: pwd
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -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()
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue