-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathappveyor.yml
45 lines (33 loc) · 890 Bytes
/
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
45
version: "build #{build}"
platform: x64
skip_tags: true
clone_folder: c:\gopath\src\github.com\go-restit\restit
# environment variable matrix
environment:
GOPATH: c:\gopath
GOINSTALLERHOST: https://storage.googleapis.com/golang
GOPKG: github.com/go-restit/restit
matrix:
- GOVERSION: 1.3
GOINSTALLER: go1.3.windows-amd64.msi
- GOVERSION: 1.4
GOINSTALLER: go1.4.windows-amd64.msi
- GOVERSION: 1.5
GOINSTALLER: go1.5.windows-amd64.msi
- GOVERSION: 1.6
GOINSTALLER: go1.6.windows-amd64.msi
# install and test script
install:
- set PATH=%GOPATH%\bin;c:\go\bin;%PATH%
- rmdir c:\go /s /q
- appveyor DownloadFile %GOINSTALLERHOST%/%GOINSTALLER%
- msiexec /i %GOINSTALLER% /q
- go version
- go env
- echo %cd%
- go get -v -d -t %GOPKG%/...
test_script:
- go test -v -cover ./...
# disable build and deploy phase
build: off
deploy: off