spf13--viper/.travis.yml
2020-02-26 17:07:36 -06:00

31 lines
413 B
YAML

language: go
env:
global:
- GO111MODULE="on"
go:
- 1.14.x
- tip
os:
- linux
- osx
matrix:
allow_failures:
- go: tip
fast_finish: true
install: true
script:
- go mod vendor
- diff -u <(echo -n) <(gofmt -d .)
- go test -v -mod=vendor ./...
after_success:
- go get -u -d github.com/spf13/hugo
- cd $GOPATH/src/github.com/spf13/hugo && make && ./hugo -s docs && cd -
sudo: false