mirror of
https://github.com/spf13/viper
synced 2024-11-16 18:07:02 +00:00
8ac2e2e20f
Also: * Add check to .travis.yml that verifies that all code is gofmt-compliant * Touch up some newlines See #351
27 lines
398 B
YAML
27 lines
398 B
YAML
go_import_path: github.com/spf13/viper
|
|
|
|
language: go
|
|
go:
|
|
- 1.7.5
|
|
- 1.8
|
|
- 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
|