forked from 99designs/gqlgen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
46 lines (35 loc) · 917 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
46
version: "{build}"
# Source Config
skip_branch_with_pr: true
clone_folder: c:\gopath\src\github.com\99designs\gqlgen
# Build host
environment:
GOPATH: c:\gopath
GOVERSION: 1.10
PATH: '%PATH%;c:\gopath\bin'
branches:
only: ["master", "next"]
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
- go version
build: false
deploy: false
test_script:
- go get -u github.com/vektah/gorunpkg github.com/golang/dep/cmd/dep
- dep ensure -vendor-only
- go generate ./...
- go test -timeout 20m ./...
- echo "testing init"
- rd /s /q vendor
- go get ./...
- go install
- cd c:\gopath\src\github.com\99designs\
- mkdir init-project
- cd init-project
- gqlgen init