Skip to content

Commit f3a7c3e

Browse files
authored
Fix GitLab CI detection (#19)
GitLab CI sets `export CI=true`. See https://docs.gitlab.com/ce/ci/variables/
1 parent 3023d5d commit f3a7c3e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

main.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,8 @@ func parse(line string) {
115115
func enableOnCI() {
116116
ci := strings.ToLower(os.Getenv("CI"))
117117
switch ci {
118+
case "true":
119+
fallthrough
118120
case "travis":
119121
fallthrough
120122
case "appveyor":

0 commit comments

Comments
 (0)