File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -652,14 +652,18 @@ function main(): void
652
652
653
653
if ($ show_progress === null ) {
654
654
// Taken from https://github.com/vimeo/psalm/blob/1ef3851580acef380d083d9b4044bd8c6204b780/src/Psalm/Internal/CliUtils.php#L656
655
- $ is_ci = isset ($ _SERVER ['TRAVIS ' ])
655
+ $ is_ci = isset ($ _SERVER ['APPVEYOR ' ])
656
+ || isset ($ _SERVER ['BUILD_DEFINITIONVERSION ' ]) // Azure pipelines
656
657
|| isset ($ _SERVER ['CIRCLECI ' ])
657
- || isset ($ _SERVER ['APPVEYOR ' ])
658
+ || isset ($ _SERVER ['DRONE ' ])
659
+ || isset ($ _SERVER ['GITHUB_WORKFLOW ' ])
660
+ || isset ($ _SERVER ['GITLAB_CI ' ])
658
661
|| isset ($ _SERVER ['JENKINS_URL ' ])
659
662
|| isset ($ _SERVER ['SCRUTINIZER ' ])
660
- || isset ($ _SERVER ['GITLAB_CI ' ])
661
- || isset ($ _SERVER ['GITHUB_WORKFLOW ' ])
662
- || isset ($ _SERVER ['DRONE ' ]);
663
+ || isset ($ _SERVER ['TRAVIS ' ]);
664
+
665
+ // Test to see how to detect Cirrus
666
+ var_dump ($ _SERVER );
663
667
664
668
$ show_progress = !$ is_ci ;
665
669
}
You can’t perform that action at this time.
0 commit comments