github.com/vlifesystems/rulehunter@v0.0.0-20180501090014-673078aa4a83/appveyor.yml (about)

     1  version: "{build}"
     2  
     3  platform:
     4    - x86
     5    - x64
     6  
     7  services:
     8    - mssql2014
     9  
    10  clone_folder: c:\gopath\src\github.com\vlifesystems\rulehunter
    11  
    12  environment:
    13    GOPATH: c:\gopath
    14  
    15  install:
    16    - IF "%PLATFORM%" == "x86" set GOROOT=c:\go-x86
    17    - IF "%PLATFORM%" == "x86" set PATH=%GOROOT%\bin;C:\MinGW\bin;%PATH%
    18    - IF "%PLATFORM%" == "x64" set PATH=C:\msys64\mingw64\bin;%PATH%
    19    - echo %PATH%
    20    - go version
    21    - go env
    22    - go get -v -t ./...
    23    - go install
    24  
    25  before_build:
    26    - sqlcmd -S (local)\SQL2014 -P Password12! -U sa -i ci\createflow.sql
    27    #- "powershell ci\\sql-server-activate-tcp-fixed-port.ps1 SQL2014 12014"
    28  
    29  
    30  build_script:
    31    - go install -v ./...
    32  
    33  test_script:
    34    - go test -v -tags="appveyor su" ./...
    35    - cd examples
    36    - bin\init_www_windows.bat
    37    # Delete following experiment because it takes too long
    38    - del experiments\acmeprinters_repair016_how_many_callbacks.yaml
    39    - C:\gopath\bin\rulehunter --config=config_quick.yaml