spf13--viper/.travis.yml

32 lines
449 B
YAML
Raw Normal View History

2014-11-13 15:38:47 -05:00
language: go
env:
global:
- GO111MODULE="on"
2014-11-13 15:38:47 -05:00
go:
2020-02-26 16:44:40 -06:00
- 1.14.x
2014-11-13 15:38:47 -05:00
- tip
2016-06-06 00:03:07 +02:00
os:
- linux
- osx
2014-11-13 15:38:47 -05:00
2016-05-08 14:34:24 +02:00
matrix:
allow_failures:
- go: tip
2016-08-16 10:09:34 +02:00
fast_finish: true
2016-05-08 14:34:24 +02:00
2020-02-26 17:01:06 -06:00
install: true
2014-11-13 15:38:47 -05:00
script:
2020-02-26 17:07:36 -06:00
- go mod vendor
2020-02-27 11:18:38 -05:00
- diff -u <(echo -n) <(gofmt -d $(go list ./... | grep -v /vendor/))
- 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 -
2015-11-04 18:15:48 -05:00
sudo: false