spf13--viper/.travis.yml
2020-02-27 09:59:02 -05:00

31 lines
415 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=readonly ./...
after_success:
- go get -u -d github.com/spf13/hugo
- cd $GOPATH/src/github.com/spf13/hugo && make && ./hugo -s docs && cd -
sudo: false