github.com/gsquire/gb@v0.4.4-0.20161112235727-3982dc872064/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 -y --force 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 get github.com/pkg/errors 33 - go install -v ./... 34 35 test_script: 36 - set PATH=C:\gopath\bin;%PATH% 37 - gb help 38 - go test -v ./... 39 40 #artifacts: 41 # - path: '%GOPATH%\bin\*.exe' 42 deploy: off