Skip to content

Commit

Permalink
add appveyor.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
vcabbage committed Aug 26, 2018
1 parent 55742eb commit d143eee
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
version: "{build}"

hosts:
quic.clemente.io: 127.0.0.1

os: Windows Server 2012 R2

clone_folder: c:\gopath\src\github.com\vcabbage\dogstatsd

environment:
GOPATH: c:\gopath

install:
- rmdir c:\go /s /q
- appveyor DownloadFile https://storage.googleapis.com/golang/go1.11.windows-amd64.zip
- 7z x go1.11.windows-amd64.zip -y -oC:\ > NUL
- set PATH=%GOPATH%\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

0 comments on commit d143eee

Please sign in to comment.