mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
committed by
Craig Peterson
parent
813a186865
commit
443401d2a7
@@ -1,7 +1,7 @@
|
|||||||
language: go
|
language: go
|
||||||
|
|
||||||
go:
|
go:
|
||||||
- 1.10.x
|
- 1.13.x
|
||||||
|
|
||||||
install: pwd
|
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
|
WORKDIR /go/src/github.com/StackExchange/dnscontrol
|
||||||
ADD . .
|
ADD . .
|
||||||
RUN apk update && apk add git
|
RUN apk update && apk add git
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
variables:
|
variables:
|
||||||
GOBIN: '$(GOPATH)/bin' # Go binaries path
|
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
|
GOPATH: '$(system.defaultWorkingDirectory)/gopath' # Go workspace path
|
||||||
modulePath: '$(GOPATH)/src/github.com/$(build.repository.name)' # Path to the module's code
|
modulePath: '$(GOPATH)/src/github.com/$(build.repository.name)' # Path to the module's code
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
variables:
|
variables:
|
||||||
GOBIN: '$(GOPATH)/bin' # Go binaries path
|
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
|
GOPATH: '$(system.defaultWorkingDirectory)/gopath' # Go workspace path
|
||||||
modulePath: '$(GOPATH)/src/github.com/$(build.repository.name)' # Path to the module's code
|
modulePath: '$(GOPATH)/src/github.com/$(build.repository.name)' # Path to the module's code
|
||||||
wd: '$(modulePath)/integrationTest'
|
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")
|
var verbose = flag.Bool("verbose", false, "Print corrections as you run them")
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
|
testing.Init()
|
||||||
flag.Parse()
|
flag.Parse()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user