2020-08-25 17:10:39 -04:00
|
|
|
language: go
|
|
|
|
|
|
|
|
go:
|
2020-08-25 17:22:49 -04:00
|
|
|
#- "1.11" # Debian Stable golang version, fails - see below
|
|
|
|
#- "1.12" # Also fails due to progressbar Millisecond requirement
|
2020-08-25 17:10:39 -04:00
|
|
|
- "1.13"
|
|
|
|
- "1.14"
|
|
|
|
- "1.15"
|
|
|
|
|
|
|
|
script:
|
|
|
|
- go test ./...
|
|
|
|
- go build
|
|
|
|
|
2020-08-25 17:22:49 -04:00
|
|
|
env:
|
|
|
|
GO111MODULE=on
|
|
|
|
|
2020-08-27 11:47:57 -04:00
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- $HOME/.cache/go-build
|
|
|
|
- $GOPATH/pkg/mod
|
|
|
|
|
2020-08-25 17:10:39 -04:00
|
|
|
# TODO: GitHub Releases deploy
|
2020-08-27 23:14:14 -04:00
|
|
|
|
|
|
|
notifications:
|
|
|
|
email:
|
|
|
|
on_success: never
|
|
|
|
on_failure: always
|