spf13--viper/.travis.yml

33 lines
426 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:
- gimme 1.14.x
- go mod vendor
script:
- go mod tidy
- 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 -
sudo: false