aboutsummaryrefslogtreecommitdiffhomepage
path: root/hugolib/testhelpers_test.go
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2020-03-03 15:45:13 +0100
committerBjørn Erik Pedersen <[email protected]>2020-03-03 15:45:13 +0100
commit6a34f88dcc1ac229247decc008471d7449d6d316 (patch)
tree194c786e7ae19d9cfc01daa0f46125d00148b212 /hugolib/testhelpers_test.go
parentae383f04c806687cdae184d6138bcf51edbffcb2 (diff)
downloadhugo-6a34f88dcc1ac229247decc008471d7449d6d316.tar.gz
hugo-6a34f88dcc1ac229247decc008471d7449d6d316.zip
Skip some tests on CircleCI
Diffstat (limited to 'hugolib/testhelpers_test.go')
-rw-r--r--hugolib/testhelpers_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/hugolib/testhelpers_test.go b/hugolib/testhelpers_test.go
index 137dbd701..8ecff189a 100644
--- 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