matterbridge/vendor/github.com/spf13/viper/.travis.yml

33 lines
470 B
YAML
Raw Normal View History

go_import_path: github.com/spf13/viper
language: go
env:
global:
2020-01-09 12:02:56 -08:00
- GO111MODULE="on"
- GOFLAGS="-mod=readonly"
go:
- 1.11.x
2020-01-09 12:02:56 -08:00
- 1.12.x
- 1.13.x
- tip
os:
- linux
- osx
matrix:
allow_failures:
- go: tip
fast_finish: true
script:
- go install ./...
- diff -u <(echo -n) <(gofmt -d .)
- go test -v ./...
after_success:
- go get -u -d github.com/spf13/hugo
- cd $GOPATH/src/github.com/spf13/hugo && make && ./hugo -s docs && cd -