2016-08-20 08:03:44 -05:00
|
|
|
go_import_path: github.com/spf13/viper
|
|
|
|
|
2014-11-13 15:38:47 -05:00
|
|
|
language: go
|
2018-12-05 16:27:02 +01:00
|
|
|
|
|
|
|
env:
|
|
|
|
global:
|
2019-07-13 11:42:53 +02:00
|
|
|
- GO111MODULE="on"
|
|
|
|
- GOFLAGS="-mod=readonly"
|
2018-12-05 16:27:02 +01:00
|
|
|
|
2014-11-13 15:38:47 -05:00
|
|
|
go:
|
2018-08-28 07:08:14 +00:00
|
|
|
- 1.11.x
|
2019-07-13 11:42:53 +02:00
|
|
|
- 1.12.x
|
2019-09-27 21:51:10 +02:00
|
|
|
- 1.13.x
|
2014-11-13 15:38:47 -05:00
|
|
|
- tip
|
2016-08-20 08:03:44 -05:00
|
|
|
|
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
|
|
|
|
2014-11-13 15:38:47 -05:00
|
|
|
script:
|
2016-08-20 08:03:44 -05:00
|
|
|
- go install ./...
|
2017-07-22 22:47:47 -07:00
|
|
|
- diff -u <(echo -n) <(gofmt -d .)
|
2014-11-13 15:38:47 -05:00
|
|
|
- go test -v ./...
|
2016-08-20 08:03:44 -05:00
|
|
|
|
|
|
|
after_success:
|
|
|
|
- go get -u -d github.com/spf13/hugo
|
|
|
|
- cd $GOPATH/src/github.com/spf13/hugo && make && ./hugo -s docs && cd -
|