github.com/aca02djr/gb@v0.4.1/appveyor.yml (about)

     1  version: build-{build}.{branch}
     2  
     3  clone_folder: C:\gopath\src\github.com\constabulary\gb
     4  shallow_clone: true # for startup speed
     5  
     6  environment:
     7    GOPATH: C:\gopath
     8  
     9  platform:
    10    - x64
    11    #- x86
    12  # the "x86" platform still gives us GOARCH=amd64 :/
    13  # TODO(tianon) we have 32bit Go installed at C:\go-x86 and 32bit mingw at both C:\msys64\mingw32 and C:\MinGW, so we could do something
    14  
    15  # http://www.appveyor.com/docs/installed-software
    16  install:
    17    # some helpful output for debugging builds
    18    - go version
    19    - go env
    20    # pre-installed MinGW at C:\MinGW is 32bit only
    21    # but MSYS2 at C:\msys64 has mingw64
    22    - set PATH=C:\msys64\mingw64\bin;%PATH%
    23    - gcc --version
    24    - g++ --version
    25    # need bzr for several tests
    26    - choco install bzr
    27    - set PATH=C:\Program Files (x86)\Bazaar;%PATH%
    28    - bzr --version
    29    # TODO(tianon) - git clone --depth 1 https://github.com/constabulary/integration-tests.git
    30  
    31  build_script:
    32    - go install -v ./...
    33  
    34  test_script:
    35    - set PATH=C:\gopath\bin;%PATH%
    36    - gb help
    37    - go test -v ./...
    38  
    39  #artifacts:
    40  #  - path: '%GOPATH%\bin\*.exe'
    41  deploy: off