2016-08-20 13:03:44 +00:00
|
|
|
go_import_path: github.com/spf13/viper
|
|
|
|
|
2014-11-13 20:38:47 +00:00
|
|
|
language: go
|
|
|
|
go:
|
2017-02-17 16:38:17 +00:00
|
|
|
- 1.7.5
|
|
|
|
- 1.8
|
2014-11-13 20:38:47 +00:00
|
|
|
- tip
|
2016-08-20 13:03:44 +00:00
|
|
|
|
2016-06-05 22:03:07 +00:00
|
|
|
os:
|
|
|
|
- linux
|
|
|
|
- osx
|
2014-11-13 20:38:47 +00:00
|
|
|
|
2016-05-08 12:34:24 +00:00
|
|
|
matrix:
|
|
|
|
allow_failures:
|
|
|
|
- go: tip
|
2016-08-16 08:09:34 +00:00
|
|
|
fast_finish: true
|
2016-05-08 12:34:24 +00:00
|
|
|
|
2014-11-13 20:38:47 +00:00
|
|
|
script:
|
2016-08-20 13:03:44 +00:00
|
|
|
- go install ./...
|
2017-07-23 05:47:47 +00:00
|
|
|
- diff -u <(echo -n) <(gofmt -d .)
|
2014-11-13 20:38:47 +00:00
|
|
|
- go test -v ./...
|
2016-08-20 13:03:44 +00: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-04 23:15:48 +00:00
|
|
|
sudo: false
|