2020-08-26 00:10:39 +03:00
|
|
|
language: go
|
|
|
|
|
|
|
|
go:
|
2020-08-26 00:22:49 +03:00
|
|
|
#- "1.11" # Debian Stable golang version, fails - see below
|
|
|
|
#- "1.12" # Also fails due to progressbar Millisecond requirement
|
2020-08-26 00:10:39 +03:00
|
|
|
- "1.13"
|
|
|
|
- "1.14"
|
|
|
|
- "1.15"
|
|
|
|
|
|
|
|
script:
|
2020-09-02 16:29:50 +03:00
|
|
|
- go test -race ./...
|
2020-08-26 00:10:39 +03:00
|
|
|
- go build
|
|
|
|
|
2020-08-26 00:22:49 +03:00
|
|
|
env:
|
|
|
|
GO111MODULE=on
|
|
|
|
|
2020-08-27 18:47:57 +03:00
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- $HOME/.cache/go-build
|
|
|
|
- $GOPATH/pkg/mod
|
|
|
|
|
2020-08-26 00:10:39 +03:00
|
|
|
# TODO: GitHub Releases deploy
|
2020-08-28 06:14:14 +03:00
|
|
|
|
|
|
|
notifications:
|
|
|
|
email:
|
|
|
|
on_success: never
|
|
|
|
on_failure: always
|