2020-08-25 21:10:39 +00:00
|
|
|
language: go
|
|
|
|
|
|
|
|
go:
|
2020-08-25 21:22:49 +00:00
|
|
|
#- "1.11" # Debian Stable golang version, fails - see below
|
|
|
|
#- "1.12" # Also fails due to progressbar Millisecond requirement
|
2020-08-25 21:10:39 +00:00
|
|
|
- "1.13"
|
|
|
|
- "1.14"
|
|
|
|
- "1.15"
|
|
|
|
|
2020-09-02 21:24:51 +00:00
|
|
|
os:
|
|
|
|
- linux
|
|
|
|
- osx
|
|
|
|
- windows
|
|
|
|
|
2020-09-02 21:34:33 +00:00
|
|
|
before_install:
|
|
|
|
- if [ "$TRAVIS_OS_NAME" = "windows" ]; then choco install make; fi
|
|
|
|
|
2020-08-25 21:10:39 +00:00
|
|
|
script:
|
2020-09-02 13:29:50 +00:00
|
|
|
- go test -race ./...
|
2020-09-02 16:56:47 +00:00
|
|
|
- make
|
2020-08-25 21:10:39 +00:00
|
|
|
|
2020-08-25 21:22:49 +00:00
|
|
|
env:
|
|
|
|
GO111MODULE=on
|
|
|
|
|
2020-08-27 15:47:57 +00:00
|
|
|
cache:
|
|
|
|
directories:
|
2020-09-02 21:34:33 +00:00
|
|
|
- $GOCACHE
|
2020-09-02 21:52:27 +00:00
|
|
|
- $GOPATH/pkg/mod
|
2020-08-27 15:47:57 +00:00
|
|
|
|
2020-08-25 21:10:39 +00:00
|
|
|
# TODO: GitHub Releases deploy
|
2020-08-28 03:14:14 +00:00
|
|
|
|
|
|
|
notifications:
|
|
|
|
email:
|
|
|
|
on_success: never
|
|
|
|
on_failure: always
|