mirror of
https://github.com/caddyserver/caddy.git
synced 2024-11-29 20:24:11 +08:00
25 lines
557 B
YAML
25 lines
557 B
YAML
language: go
|
|
|
|
go:
|
|
- 1.6
|
|
- tip
|
|
|
|
env:
|
|
- CGO_ENABLED=0
|
|
|
|
before_install:
|
|
# Decrypts a script that installs an authenticated cookie
|
|
# for git to use when cloning from googlesource.com.
|
|
# Bypasses "bandwidth limit exceeded" errors.
|
|
# See github.com/golang/go/issues/12933
|
|
- openssl aes-256-cbc -K $encrypted_3df18f9af81d_key -iv $encrypted_3df18f9af81d_iv -in dist/gitcookie.sh.enc -out dist/gitcookie.sh -d
|
|
|
|
install:
|
|
- bash dist/gitcookie.sh
|
|
- go get -t ./...
|
|
- go get golang.org/x/tools/cmd/vet
|
|
|
|
script:
|
|
- go vet ./...
|
|
- go test ./...
|