From 6caea2c8f5dcf6b04e90171a4878e8566d08b916 Mon Sep 17 00:00:00 2001 From: Kevin Leung Date: Fri, 28 Jun 2024 15:39:24 +1000 Subject: [PATCH] better is_ci check --- src/travix/Travix.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/travix/Travix.hx b/src/travix/Travix.hx index 0f5ef8f..c3722fb 100644 --- a/src/travix/Travix.hx +++ b/src/travix/Travix.hx @@ -28,10 +28,10 @@ class Travix { public static var HAXELIB_CONFIG(default, null) = 'haxelib.json'; // env - public static var isCI(default, never) = getEnv('CI') != null; public static var isAppVeyor(default, never) = getEnv('APPVEYOR') == 'True'; public static var isGithubActions(default, never) = getEnv('GITHUB_ACTIONS') == 'true'; public static var isTravis(default, never) = getEnv('TRAVIS') == 'true'; + public static var isCI(default, never) = getEnv('CI') != null || isAppVeyor || isGithubActions || isTravis; public static var counter = 0;