github.com/clusterize-io/tusk@v0.6.3-0.20211001020217-cfe8a8cd0d4a/.appveyor.yml (about)

     1  version: "{build}"
     2  
     3  branches:
     4    only:
     5      - master
     6  
     7  environment:
     8    GOROOT: c:\Program Files\Go
     9    GOPATH: c:\gopath
    10    GO_VERSION: 1.16.3
    11  
    12  install:
    13    # Install specific Go version
    14    - rmdir c:\go /s /q
    15    - appveyor DownloadFile https://storage.googleapis.com/golang/go%GO_VERSION%.windows-amd64.msi
    16    - msiexec /i go%GO_VERSION%.windows-amd64.msi /q
    17    # Add reference to Go installation
    18    - set PATH=c:\Program Files\Go\bin;%PATH%
    19    # Add GOPATH to reference installed binary
    20    - set PATH=%GOPATH%\bin;%PATH%
    21    # Add MinGW for gcc
    22    - set PATH=c:\msys64\mingw64\bin;%PATH%
    23  
    24  build_script:
    25    - go install
    26  
    27  test_script:
    28    - tusk --quiet test --verbose