mirror of
https://github.com/caddyserver/caddy.git
synced 2024-11-25 17:56:34 +08:00
Move to Go 1.6 and set CGO_ENABLED=0 in tests
This commit is contained in:
parent
1cfd960f3c
commit
f25ae8230f
|
@ -1,12 +1,14 @@
|
||||||
language: go
|
language: go
|
||||||
|
|
||||||
go:
|
go:
|
||||||
- 1.4.3
|
- 1.6
|
||||||
- 1.5.3
|
|
||||||
- tip
|
- tip
|
||||||
|
|
||||||
|
env:
|
||||||
|
- CGO_ENABLED=0
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- go get -d ./...
|
- go get -t ./...
|
||||||
- go get golang.org/x/tools/cmd/vet
|
- go get golang.org/x/tools/cmd/vet
|
||||||
|
|
||||||
script:
|
script:
|
||||||
|
|
|
@ -96,7 +96,7 @@ You may also be interested in the [developer guide]
|
||||||
|
|
||||||
## Running from Source
|
## Running from Source
|
||||||
|
|
||||||
Note: You will need **[Go 1.4](https://golang.org/dl/)** or a later version.
|
Note: You will need **[Go 1.6](https://golang.org/dl/)** or newer.
|
||||||
|
|
||||||
1. `$ go get github.com/mholt/caddy`
|
1. `$ go get github.com/mholt/caddy`
|
||||||
2. `cd` into your website's directory
|
2. `cd` into your website's directory
|
||||||
|
|
|
@ -6,13 +6,14 @@ clone_folder: c:\gopath\src\github.com\mholt\caddy
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
GOPATH: c:\gopath
|
GOPATH: c:\gopath
|
||||||
|
CGO_ENABLED: 0
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- go get golang.org/x/tools/cmd/vet
|
- go get golang.org/x/tools/cmd/vet
|
||||||
- echo %GOPATH%
|
- echo %GOPATH%
|
||||||
- go version
|
- go version
|
||||||
- go env
|
- go env
|
||||||
- go get -d ./...
|
- go get -t ./...
|
||||||
|
|
||||||
build_script:
|
build_script:
|
||||||
- go vet ./...
|
- go vet ./...
|
||||||
|
|
Loading…
Reference in New Issue
Block a user