2015-10-12 19:11:02 -06:00
|
|
|
version: "{build}"
|
|
|
|
|
2017-09-12 03:49:02 +02:00
|
|
|
hosts:
|
|
|
|
quic.clemente.io: 127.0.0.1
|
|
|
|
|
2015-10-12 19:11:02 -06:00
|
|
|
os: Windows Server 2012 R2
|
|
|
|
|
2015-10-12 19:17:50 -06:00
|
|
|
clone_folder: c:\gopath\src\github.com\mholt\caddy
|
2015-10-12 19:11:02 -06:00
|
|
|
|
|
|
|
environment:
|
2015-10-12 19:17:50 -06:00
|
|
|
GOPATH: c:\gopath
|
2015-10-12 19:11:02 -06:00
|
|
|
|
2018-09-07 15:11:25 -06:00
|
|
|
stack: go 1.11
|
|
|
|
|
2015-10-12 19:11:02 -06:00
|
|
|
install:
|
2017-05-27 13:30:11 -06:00
|
|
|
- set PATH=%GOPATH%\bin;%PATH%
|
2018-09-07 15:11:25 -06:00
|
|
|
- set PATH=C:\msys64\mingw64\bin;%PATH%
|
2015-10-12 19:11:02 -06:00
|
|
|
- go version
|
|
|
|
- go env
|
2016-02-17 16:08:25 -07:00
|
|
|
- go get -t ./...
|
2018-10-17 01:56:41 +08:00
|
|
|
- go get golang.org/x/lint/golint
|
2017-05-27 13:30:11 -06:00
|
|
|
- go get github.com/FiloSottile/vendorcheck
|
|
|
|
- go get github.com/alecthomas/gometalinter
|
2015-10-12 19:11:02 -06:00
|
|
|
|
2016-02-19 18:07:48 -07:00
|
|
|
build: off
|
|
|
|
|
|
|
|
test_script:
|
2017-10-19 19:02:56 +02:00
|
|
|
- gometalinter --install
|
2017-05-27 13:30:11 -06:00
|
|
|
- gometalinter --disable-all -E vet -E gofmt -E misspell -E ineffassign -E goimports -E deadcode --tests --vendor ./...
|
2017-08-24 21:02:47 -06:00
|
|
|
- vendorcheck ./...
|
|
|
|
- go test -race ./...
|
2016-03-26 14:26:12 -06:00
|
|
|
|
|
|
|
after_test:
|
2017-08-24 21:02:47 -06:00
|
|
|
- golint ./...
|
2016-02-19 18:07:48 -07:00
|
|
|
|
|
|
|
deploy: off
|