Skip to content

Commit

Permalink
Update appveyor
Browse files Browse the repository at this point in the history
  • Loading branch information
vektah committed Jan 26, 2019
1 parent 9e02a97 commit 48eb6c5
Showing 1 changed file with 2 additions and 28 deletions.
30 changes: 2 additions & 28 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,15 @@ version: "{build}"
# Source Config

skip_branch_with_pr: true
clone_folder: c:\gopath\src\github.com\99designs\gqlgen
clone_folder: c:\projects\gqlgen

# Build host

environment:
GOPATH: c:\gopath
GOVERSION: 1.10
GOVERSION: 1.11.5
PATH: '%PATH%;c:\gopath\bin'

branches:
only: ["master", "next"]

init:
- git config --global core.autocrlf input

Expand All @@ -31,28 +28,5 @@ 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
- ps: |
Set-Content -Value @"
// +build ignore
package main
import "github.com/99designs/gqlgen/cmd"
func main() {
cmd.Execute()
}
"@ -Path .\gqlgen.go
- go run gqlgen.go init

0 comments on commit 48eb6c5

Please sign in to comment.