28 lines
401 B
YAML
28 lines
401 B
YAML
go_import_path: github.com/spf13/viper
|
|
|
|
language: go
|
|
go:
|
|
- 1.9.x
|
|
- 1.10.x
|
|
- tip
|
|
|
|
os:
|
|
- linux
|
|
- osx
|
|
|
|
matrix:
|
|
allow_failures:
|
|
- go: tip
|
|
fast_finish: true
|
|
|
|
script:
|
|
- go install ./...
|
|
- 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
|