2017-07-31 23:12:09 +00:00
|
|
|
version: "{build}"
|
|
|
|
|
|
|
|
cache:
|
2020-01-16 22:38:06 +00:00
|
|
|
- C:\gopath\pkg\mod -> go.sum
|
|
|
|
- C:\ProgramData\chocolatey\bin -> appveyor.yml
|
|
|
|
- C:\ProgramData\chocolatey\lib -> appveyor.yml
|
2017-07-31 23:12:09 +00:00
|
|
|
|
|
|
|
clone_folder: C:\gopath\src\github.com\influxdata\telegraf
|
|
|
|
|
|
|
|
environment:
|
2020-01-16 22:38:06 +00:00
|
|
|
GOVERSION: 1.13.5
|
2017-07-31 23:12:09 +00:00
|
|
|
GOPATH: C:\gopath
|
|
|
|
|
|
|
|
platform: x64
|
|
|
|
|
|
|
|
install:
|
2020-01-16 22:38:06 +00:00
|
|
|
- choco install golang --version "%GOVERSION%"
|
|
|
|
- choco install make
|
2018-07-24 21:57:24 +00:00
|
|
|
- cd "%GOPATH%\src\github.com\influxdata\telegraf"
|
|
|
|
- git config --system core.longpaths true
|
2017-07-31 23:12:09 +00:00
|
|
|
- go version
|
|
|
|
- go env
|
|
|
|
|
|
|
|
build_script:
|
2020-01-16 22:38:06 +00:00
|
|
|
- make deps
|
|
|
|
- make telegraf
|
2017-07-31 23:12:09 +00:00
|
|
|
|
|
|
|
test_script:
|
2020-01-16 22:38:06 +00:00
|
|
|
- make check
|
|
|
|
- make test-windows
|
2017-07-31 23:12:09 +00:00
|
|
|
|
|
|
|
artifacts:
|
|
|
|
- path: telegraf.exe
|