aboutsummaryrefslogtreecommitdiffhomepage
path: root/appveyor.yml
blob: 99c010ae4368cb9f2b66d3dc5193c92a8677c8db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
version: "{build}"

os: Windows Server 2012 R2

clone_folder: c:\gopath\src\github.com\mholt\caddy

environment:
  GOPATH: c:\gopath

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

build: off

test_script:
  - go vet ./...
  - go test -race ./...
  - ineffassign .

after_test:
  - golint ./...

deploy: off