From 7bb140314af4c1463d60c554f7df3dc4294bb43b Mon Sep 17 00:00:00 2001 From: Henrique Dias Date: Wed, 10 Aug 2016 14:26:39 +0100 Subject: [PATCH] travis update --- build/main.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build/main.go b/build/main.go index c293e408..aeb5cc63 100644 --- a/build/main.go +++ b/build/main.go @@ -10,6 +10,10 @@ import ( ) func main() { + if len(os.Getenv("TRAVIS")) > 0 || len(os.Getenv("CI")) > 0 { + return + } + goPath := os.Getenv("GOPATH") hugoPath := filepath.Join(goPath, "src/github.com/spf13/hugo")