2016-06-06 00:53:54 +03:00
|
|
|
sudo: false
|
2014-11-01 07:25:15 +03:00
|
|
|
language: go
|
2016-06-06 00:53:54 +03:00
|
|
|
|
2014-11-01 07:25:15 +03:00
|
|
|
go:
|
2020-03-27 23:24:09 +03:00
|
|
|
- "1.13"
|
|
|
|
- "1.14"
|
2014-11-01 07:25:15 +03:00
|
|
|
- tip
|
2016-05-08 21:08:58 +03:00
|
|
|
|
2016-06-06 01:02:38 +03:00
|
|
|
os:
|
|
|
|
- linux
|
|
|
|
- osx
|
|
|
|
|
2016-05-08 21:08:58 +03:00
|
|
|
matrix:
|
|
|
|
allow_failures:
|
|
|
|
- go: tip
|
2016-08-16 11:07:57 +03:00
|
|
|
fast_finish: true
|
2016-06-06 00:53:54 +03:00
|
|
|
|
2014-11-01 07:25:15 +03:00
|
|
|
script:
|
2020-03-27 23:24:09 +03:00
|
|
|
- go build -v ./...
|
|
|
|
- go test -count=1 -cover -race -v ./...
|
2020-04-11 00:58:56 +03:00
|
|
|
- go vet ./...
|
|
|
|
- FILES=$(gofmt -s -l . zipfs sftpfs mem); if [[ -n "${FILES}" ]]; then echo "You have go format errors; gofmt your changes"; exit 1; fi
|