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"
|
|
|
|
|
2020-09-02 17:24:51 -04:00
|
|
|
os:
|
|
|
|
- linux
|
|
|
|
- osx
|
|
|
|
- windows
|
|
|
|
|
2020-09-02 17:34:33 -04:00
|
|
|
before_install:
|
|
|
|
- if [ "$TRAVIS_OS_NAME" = "windows" ]; then choco install make; fi
|
|
|
|
|
2020-08-25 17:10:39 -04:00
|
|
|
script:
|
2020-09-02 09:29:50 -04:00
|
|
|
- go test -race ./...
|
2020-09-02 12:56:47 -04:00
|
|
|
- make
|
2020-08-25 17:10:39 -04:00
|
|
|
|
2020-08-25 17:22:49 -04:00
|
|
|
env:
|
|
|
|
GO111MODULE=on
|
|
|
|
|
2020-08-27 11:47:57 -04:00
|
|
|
cache:
|
|
|
|
directories:
|
2020-09-02 17:34:33 -04:00
|
|
|
- $GOCACHE
|
2020-09-02 17:52:27 -04:00
|
|
|
- $GOPATH/pkg/mod
|
2020-08-27 11:47:57 -04:00
|
|
|
|
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
|