github.com/galaxy-book/gqlgen@v0.7.2/appveyor.yml (about)

     1  version: "{build}"
     2  
     3  # Source Config
     4  
     5  skip_branch_with_pr: true
     6  clone_folder: c:\gopath\src\github.com\99designs\gqlgen
     7  
     8  # Build host
     9  
    10  environment:
    11    GOPATH: c:\gopath
    12    GOVERSION: 1.10
    13    PATH: '%PATH%;c:\gopath\bin'
    14  
    15  branches:
    16    only: ["master", "next"]
    17  
    18  init:
    19    - git config --global core.autocrlf input
    20  
    21  # Build
    22  
    23  install:
    24    # Install the specific Go version.
    25    - rmdir c:\go /s /q
    26    - appveyor DownloadFile https://storage.googleapis.com/golang/go%GOVERSION%.windows-amd64.msi
    27    - msiexec /i go%GOVERSION%.windows-amd64.msi /q
    28    - go version
    29  
    30  build: false
    31  deploy: false
    32  
    33  test_script:
    34    - go get -u github.com/vektah/gorunpkg github.com/golang/dep/cmd/dep
    35    - dep ensure -vendor-only
    36    - go generate ./...
    37    - go test -timeout 20m ./...
    38  
    39    - echo "testing init"
    40    - rd /s /q vendor
    41    - go get ./...
    42    - go install
    43    - cd c:\gopath\src\github.com\99designs\
    44    - mkdir init-project
    45    - cd init-project
    46    - gqlgen init