hugo

Unnamed repository; edit this file 'description' to name the repository.

git clone git://git.shimmy1996.com/hugo.git
commit 6a34f88dcc1ac229247decc008471d7449d6d316
parent ae383f04c806687cdae184d6138bcf51edbffcb2
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Tue,  3 Mar 2020 15:45:13 +0100

Skip some tests on CircleCI

Diffstat:
Mhugolib/testhelpers_test.go | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hugolib/testhelpers_test.go b/hugolib/testhelpers_test.go
@@ -1021,7 +1021,7 @@ func printStringIndexes(s string) {
 }
 
 func isCI() bool {
-	return os.Getenv("CI") != ""
+	return os.Getenv("CI") != "" && os.Getenv("CIRCLE_BRANCH") == ""
 }
 
 // See https://github.com/golang/go/issues/19280