Skip to content

Commit

Permalink
better is_ci check
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinresol committed Jun 28, 2024
1 parent 2e9bb71 commit 6caea2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/travix/Travix.hx
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 6caea2c

Please sign in to comment.