2016-08-20 16:03:44 +03:00
|
|
|
go_import_path: github.com/spf13/viper
|
|
|
|
|
2014-11-13 23:38:47 +03:00
|
|
|
language: go
|
|
|
|
go:
|
2018-03-22 10:00:28 +03:00
|
|
|
- 1.10.x
|
2018-08-28 10:08:14 +03:00
|
|
|
- 1.11.x
|
2014-11-13 23:38:47 +03:00
|
|
|
- tip
|
2016-08-20 16:03:44 +03:00
|
|
|
|
2016-06-06 01:03:07 +03:00
|
|
|
os:
|
|
|
|
- linux
|
|
|
|
- osx
|
2014-11-13 23:38:47 +03:00
|
|
|
|
2016-05-08 15:34:24 +03:00
|
|
|
matrix:
|
|
|
|
allow_failures:
|
|
|
|
- go: tip
|
2016-08-16 11:09:34 +03:00
|
|
|
fast_finish: true
|
2016-05-08 15:34:24 +03:00
|
|
|
|
2014-11-13 23:38:47 +03:00
|
|
|
script:
|
2016-08-20 16:03:44 +03:00
|
|
|
- go install ./...
|
2017-07-23 08:47:47 +03:00
|
|
|
- diff -u <(echo -n) <(gofmt -d .)
|
2014-11-13 23:38:47 +03:00
|
|
|
- go test -v ./...
|
2016-08-20 16:03:44 +03:00
|
|
|
|
|
|
|
after_success:
|
|
|
|
- go get -u -d github.com/spf13/hugo
|
|
|
|
- cd $GOPATH/src/github.com/spf13/hugo && make && ./hugo -s docs && cd -
|
|
|
|
|
2015-11-05 02:15:48 +03:00
|
|
|
sudo: false
|