shithub: hugo

Download patch

ref: 6a34f88dcc1ac229247decc008471d7449d6d316
parent: ae383f04c806687cdae184d6138bcf51edbffcb2
author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
date: Tue Mar 3 10:45:13 EST 2020

Skip some tests on CircleCI

--- a/hugolib/testhelpers_test.go
+++ b/hugolib/testhelpers_test.go
@@ -1021,7 +1021,7 @@
 }
 
 func isCI() bool {
-	return os.Getenv("CI") != ""
+	return os.Getenv("CI") != "" && os.Getenv("CIRCLE_BRANCH") == ""
 }
 
 // See https://github.com/golang/go/issues/19280