mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-10-06 03:46:34 +08:00
parent
813a186865
commit
443401d2a7
5 changed files with 5 additions and 4 deletions
|
@ -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()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue