forked from joefitzgerald/go-plus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
44 lines (37 loc) · 1.05 KB
/
appveyor.yml
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
32
33
34
35
36
37
38
39
40
41
42
43
44
# version format
version: "{build}"
# Operating system (build VM template)
os: Windows Server 2012 R2
init:
- cmd: rd /s /q %CHOCOLATEYINSTALL%
- ps: iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))
# environment variables
environment:
GOPATH: c:\gopath
# scripts that run after cloning repository
install:
- choco version
- cinst golang
- go version
- go env
- mkdir c:\gopath
- go get -u github.com/golang/lint/golint
- go get -u golang.org/x/tools/cmd/cover
- go get -u code.google.com/p/go.tools/cmd/cover
- go get -u golang.org/x/tools/cmd/goimports
- go get -u golang.org/x/tools/cmd/vet
- go get -u golang.org/x/tools/cmd/oracle
- go get -u sourcegraph.com/sqs/goreturns
- go get -u github.com/nsf/gocode
- cinst atom
- apm install autocomplete-plus
- apm install
# to run your custom scripts instead of automatic MSBuild
build_script:
- SET PATH=%GOPATH%\bin;%PATH%
- cd %APPVEYOR_BUILD_FOLDER%
- apm test
# to disable automatic tests
test: off
# to disable deployment
deploy: off