forked from ubclaunchpad/inertia
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.appveyor.yml
41 lines (31 loc) · 872 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
version: "{build}-{branch}"
# Source Config
clone_folder: c:\gopath\src\github.com\ubclaunchpad\inertia
# Build host
environment:
GOPATH: c:\gopath
DEPTESTBYPASS501: 1
GOVERSION: "1.10"
init:
- git config --global core.autocrlf input
# Build
install:
# Install the specific Go version.
- rmdir c:\go /s /q
- appveyor DownloadFile https://storage.googleapis.com/golang/go%GOVERSION%.windows-amd64.msi
- msiexec /i go%GOVERSION%.windows-amd64.msi /q
- set Path=c:\go\bin;c:\gopath\bin;%PATH%
- go version
- go env
- go get -u github.com/golang/dep/cmd/dep
- dep ensure -v
deploy: false
build_script:
- go build
test_script:
- go test ./cfg -short --cover
- go test ./client -short --cover
- go test ./cmd -short --cover
- go test ./common -short --cover
- go test ./local -short --cover
- go test ./provision -short --cover