Add Hugo CI Step to Validate Viper - viper - [fork] go viper port for 9front
(HTM) git clone git@git.drkhsh.at/viper.git
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit fe9c8b59e176537a2a08498fe6a5e131a3b6a304
(DIR) parent 654fc7bb54d0c138ef80405ff577391f79c0c32d
(HTM) Author: Schley Andrew Kutz <sakutz@gmail.com>
Date: Sat, 20 Aug 2016 08:03:44 -0500
Add Hugo CI Step to Validate Viper
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.
Diffstat:
M .travis.yml | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
---
(DIR) diff --git a/.travis.yml b/.travis.yml
@@ -1,10 +1,12 @@
+go_import_path: github.com/spf13/viper
+
language: go
go:
- 1.5.4
- 1.6.3
- 1.7
- tip
-
+
os:
- linux
- osx
@@ -15,5 +17,11 @@ matrix:
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