github.com/coocood/badger@v1.5.1-0.20200528065104-c02ac3616d04/appveyor.yml (about) 1 # version format 2 version: "{build}" 3 4 # Operating system (build VM template) 5 os: Windows Server 2012 R2 6 7 # Platform. 8 platform: x64 9 10 clone_folder: c:\gopath\src\github.com\dgraph-io\badger 11 12 # Environment variables 13 environment: 14 GOVERSION: 1.8.3 15 GOPATH: c:\gopath 16 17 # scripts that run after cloning repository 18 install: 19 - set PATH=%GOPATH%\bin;c:\go\bin;c:\msys64\mingw64\bin;%PATH% 20 - go version 21 - go env 22 - python --version 23 - gcc --version 24 25 # To run your custom scripts instead of automatic MSBuild 26 build_script: 27 # We need to disable firewall - https://github.com/appveyor/ci/issues/1579#issuecomment-309830648 28 - ps: Disable-NetFirewallRule -DisplayName 'File and Printer Sharing (SMB-Out)' 29 - cd c:\gopath\src\github.com\dgraph-io\badger 30 - git branch 31 - go get -t ./... 32 33 # To run your custom scripts instead of automatic tests 34 test_script: 35 # Unit tests 36 - ps: Add-AppveyorTest "Unit Tests" -Outcome Running 37 - go test -v github.com/coocood/badger/... 38 - go test -v -vlog_mmap=false github.com/coocood/badger/... 39 - ps: Update-AppveyorTest "Unit Tests" -Outcome Passed 40 41 notifications: 42 - provider: Email 43 to: 44 - pawan@dgraph.io 45 on_build_failure: true 46 on_build_status_changed: true 47 # to disable deployment 48 deploy: off 49