mirror of
https://github.com/caddyserver/caddy.git
synced 2024-12-23 22:27:38 -05:00
7ed7a95524
* Attempting to fix AppVeyor builds * Trying again, 2015 image this time * Use Appveyor's Go 1.11 stack * Restore GOPATH\bin to PATH and delete old image config * Add gcc to path manually
36 lines
715 B
YAML
36 lines
715 B
YAML
version: "{build}"
|
|
|
|
hosts:
|
|
quic.clemente.io: 127.0.0.1
|
|
|
|
os: Windows Server 2012 R2
|
|
|
|
clone_folder: c:\gopath\src\github.com\mholt\caddy
|
|
|
|
environment:
|
|
GOPATH: c:\gopath
|
|
|
|
stack: go 1.11
|
|
|
|
install:
|
|
- set PATH=%GOPATH%\bin;%PATH%
|
|
- set PATH=C:\msys64\mingw64\bin;%PATH%
|
|
- go version
|
|
- go env
|
|
- go get -t ./...
|
|
- go get github.com/golang/lint/golint
|
|
- go get github.com/FiloSottile/vendorcheck
|
|
- go get github.com/alecthomas/gometalinter
|
|
|
|
build: off
|
|
|
|
test_script:
|
|
- gometalinter --install
|
|
- gometalinter --disable-all -E vet -E gofmt -E misspell -E ineffassign -E goimports -E deadcode --tests --vendor ./...
|
|
- vendorcheck ./...
|
|
- go test -race ./...
|
|
|
|
after_test:
|
|
- golint ./...
|
|
|
|
deploy: off
|