github.com/hspan/go-ole@v0.0.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.3.0.{build}-alpha-{branch}"
     8  
     9  os: Windows Server 2012 R2
    10  
    11  branches:
    12    only:
    13      - master
    14      - v1.2
    15      - v1.1
    16      - v1.0
    17  
    18  skip_tags: true
    19  
    20  clone_folder: c:\gopath\src\github.com\go-ole\go-ole
    21  
    22  environment:
    23    GOPATH: c:\gopath
    24    matrix:
    25    - GOARCH: amd64
    26      GOVERSION: 1.5
    27      GOROOT: c:\go
    28      DOWNLOADPLATFORM: "x64"
    29  
    30  install:
    31    - choco install mingw
    32    - SET PATH=c:\tools\mingw64\bin;%PATH%
    33    # - Download COM Server
    34    - ps: Start-FileDownload "https://github.com/go-ole/test-com-server/releases/download/v1.0.2/test-com-server-${env:DOWNLOADPLATFORM}.zip"
    35    - 7z e test-com-server-%DOWNLOADPLATFORM%.zip -oc:\gopath\src\github.com\go-ole\go-ole > NUL
    36    - c:\gopath\src\github.com\go-ole\go-ole\build\register-assembly.bat
    37    # - set
    38    - go version
    39    - go env
    40    - go get -u golang.org/x/tools/cmd/cover
    41    - go get -u golang.org/x/tools/cmd/godoc
    42    - go get -u golang.org/x/tools/cmd/stringer
    43  
    44  build_script:
    45    - cd c:\gopath\src\github.com\go-ole\go-ole
    46    - go get -v -t ./...
    47    - go build
    48    - go test -v -cover ./...
    49  
    50  # disable automatic tests
    51  test: off
    52  
    53  # disable deployment
    54  deploy: off