github.com/ContinuumLLC/godep-go-ole-go-ole@v1.2.0/appveyor.yml (about) 1 # Notes: 2 # - Minimal appveyor.yml file is an empty file. All sections are optional. 3 # - Indent each level of configuration with 2 spaces. Do not use tabs! 4 # - All section names are case-sensitive. 5 # - Section names should be unique on each level. 6 7 version: "1.2.0.{build}-alpha-{branch}" 8 9 os: Windows Server 2012 R2 10 11 branches: 12 only: 13 - master 14 - v1.1 15 - v1.0 16 17 skip_tags: true 18 19 clone_folder: c:\gopath\src\github.com\go-ole\go-ole 20 21 environment: 22 GOPATH: c:\gopath 23 matrix: 24 - GOARCH: amd64 25 GOVERSION: 1.4 26 GOROOT: c:\go 27 DOWNLOADPLATFORM: "x64" 28 - GOARCH: 386 29 GOVERSION: 1.4 30 GOROOT: c:\go 31 DOWNLOADPLATFORM: "x86" 32 33 matrix: 34 fast_finish: true 35 allow_failures: 36 - GOARCH: 386 37 GOVERSION: 1.4 38 GOROOT: c:\go 39 DOWNLOADPLATFORM: "x86" 40 41 install: 42 - choco install mingw 43 - SET PATH=c:\tools\mingw64\bin;%PATH% 44 # - Download COM Server 45 - ps: Start-FileDownload "https://github.com/go-ole/test-com-server/releases/download/v1.0.2/test-com-server-${env:DOWNLOADPLATFORM}.zip" 46 - 7z e test-com-server-%DOWNLOADPLATFORM%.zip -oc:\gopath\src\github.com\go-ole\go-ole > NUL 47 - c:\gopath\src\github.com\go-ole\go-ole\build\register-assembly.bat 48 # - set 49 - go version 50 - go env 51 - c:\gopath\src\github.com\go-ole\go-ole\build\compile-go.bat 52 - go tool dist install -v cmd/8a 53 - go tool dist install -v cmd/8c 54 - go tool dist install -v cmd/8g 55 - go tool dist install -v cmd/8l 56 - go tool dist install -v cmd/6a 57 - go tool dist install -v cmd/6c 58 - go tool dist install -v cmd/6g 59 - go tool dist install -v cmd/6l 60 - go get -u golang.org/x/tools/cmd/cover 61 - go get -u golang.org/x/tools/cmd/godoc 62 - go get -u golang.org/x/tools/cmd/stringer 63 64 build_script: 65 - cd c:\gopath\src\github.com\go-ole\go-ole 66 - go get -v -t ./... 67 - go build 68 - go test -v -cover ./... 69 70 # disable automatic tests 71 test: off 72 73 # disable deployment 74 deploy: off