caddy/appveyor.yml

32 lines
595 B
YAML
Raw Normal View History

2015-10-13 04:11:02 +03:00
version: "{build}"
os: Windows Server 2012 R2
clone_folder: c:\gopath\src\github.com\mholt\caddy
2015-10-13 04:11:02 +03:00
environment:
GOPATH: c:\gopath
2015-10-13 04:11:02 +03:00
install:
2016-02-20 04:07:48 +03:00
- rmdir c:\go /s /q
2016-08-16 07:57:18 +03:00
- appveyor DownloadFile https://storage.googleapis.com/golang/go1.7.windows-amd64.zip
- 7z x go1.7.windows-amd64.zip -y -oC:\ > NUL
2015-10-13 04:11:02 +03:00
- go version
- go env
- go get -t ./...
- go get github.com/golang/lint/golint
- go get github.com/gordonklaus/ineffassign
- set PATH=%GOPATH%\bin;%PATH%
2015-10-13 04:11:02 +03:00
2016-02-20 04:07:48 +03:00
build: off
test_script:
2015-10-13 04:11:02 +03:00
- go vet ./...
2016-08-02 19:55:38 +03:00
- go test -race ./...
- ineffassign .
after_test:
- golint ./...
2016-02-20 04:07:48 +03:00
deploy: off