github.com/fortexxx/gqlgen@v0.10.3-0.20191216030626-ca5ea8b21ead/appveyor.yml (about)

     1  version: "{build}"
     2  
     3  # Source Config
     4  
     5  skip_branch_with_pr: true
     6  clone_folder: c:\projects\gqlgen
     7  
     8  # Build host
     9  
    10  environment:
    11    GOPATH: c:\gopath
    12    GOVERSION: 1.11.5
    13    PATH: '%PATH%;c:\gopath\bin'
    14  
    15  init:
    16    - git config --global core.autocrlf input
    17  
    18  # Build
    19  
    20  install:
    21    # Install the specific Go version.
    22    - rmdir c:\go /s /q
    23    - appveyor DownloadFile https://storage.googleapis.com/golang/go%GOVERSION%.windows-amd64.msi
    24    - msiexec /i go%GOVERSION%.windows-amd64.msi /q
    25    - go version
    26  
    27  build: false
    28  deploy: false
    29  
    30  test_script:
    31    - git clean -ffdx
    32    - go generate ./...
    33    - go test -timeout 20m ./...