mirror of
https://github.com/spf13/viper
synced 2024-11-20 03:47:05 +00:00
fe9c8b59e1
Since Hugo is such a heavy user of Viper, this patch adds an after_success section to the Travis-CI build that validates the Viper commit by attempting to build Hugo and executing `hugo -s docs`. This patch handles issue #222.
27 lines
371 B
YAML
27 lines
371 B
YAML
go_import_path: github.com/spf13/viper
|
|
|
|
language: go
|
|
go:
|
|
- 1.5.4
|
|
- 1.6.3
|
|
- 1.7
|
|
- tip
|
|
|
|
os:
|
|
- linux
|
|
- osx
|
|
|
|
matrix:
|
|
allow_failures:
|
|
- go: tip
|
|
fast_finish: true
|
|
|
|
script:
|
|
- go install ./...
|
|
- 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
|