appveyor fix 2

This commit is contained in:
Bora M. Alper 2020-12-23 10:18:27 +03:00
parent a3acb3a29c
commit e18199c6c2
No known key found for this signature in database
GPG Key ID: 8F1A9504E1BD114D

View File

@ -20,15 +20,13 @@ install:
- go version
- go env
- go get -u -v github.com/kevinburke/go-bindata/...
- go get -u -v honnef.co/go/tools/cmd/staticcheck
before_build:
- C:\MinGW\bin\mingw32-make.exe staticcheck
- C:\MinGW\bin\mingw32-make.exe check-formatting
build_script:
- C:\MinGW\bin\mingw32-make.exe magneticod
- C:\MinGW\bin\mingw32-make.exe magneticow
# Build magneticod
- go install --tags fts5 "-ldflags=-s -w -X main.compiledOn=`date -u +%Y-%m-%dT%H:%M:%SZ`" ./cmd/magneticod
# Build magneticow
- go-bindata -pkg "main" -o="cmd/magneticow/bindata.go" -prefix="cmd/magneticow/data/" cmd/magneticow/data/...
- go install --tags fts5 "-ldflags=-s -w -X main.compiledOn=`date -u +%Y-%m-%dT%H:%M:%SZ`" ./cmd/magneticow
test_script:
- C:\MinGW\bin\mingw32-make.exe test
- go test ./...