magnetico/appveyor.yml

35 lines
839 B
YAML
Raw Normal View History

2017-11-08 19:56:12 +01:00
version: "{branch}-{build}"
platform: x64
# Source Config
clone_folder: c:\gopath\src\magnetico
shallow_clone: true
2017-11-08 19:56:12 +01:00
# Build host
environment:
GOPATH: c:\gopath
2020-12-23 07:59:01 +01:00
GOVERSION: 1.15.6
2017-11-08 19:56:12 +01:00
install:
# Install the specific Go version.
- rmdir c:\go /s /q
- appveyor DownloadFile https://storage.googleapis.com/golang/go%GOVERSION%.windows-amd64.msi
- msiexec /i go%GOVERSION%.windows-amd64.msi /q
- set Path=c:\go\bin;c:\gopath\bin
- go version
- go env
- go get -u -v github.com/kevinburke/go-bindata/...
- go get -u -v honnef.co/go/tools/cmd/staticcheck
2017-11-15 01:40:35 +01:00
before_build:
2020-12-23 08:03:47 +01:00
- C:\MinGW\bin\mingw32-make.exe staticcheck
- C:\MinGW\bin\mingw32-make.exe check-formatting
2017-11-08 19:56:12 +01:00
build_script:
2020-12-23 08:03:47 +01:00
- C:\MinGW\bin\mingw32-make.exe magneticod
- C:\MinGW\bin\mingw32-make.exe magneticow
test_script:
2020-12-23 08:03:47 +01:00
- C:\MinGW\bin\mingw32-make.exe test