mirror of
https://github.com/audacity/wxWidgets.git
synced 2025-12-11 05:47:42 -06:00
Recognize AppVeyor CI environment in unit tests
Check for APPVEYOR environment variable in addition to TRAVIS one.
This commit is contained in:
parent
0c29775d4d
commit
753aa757a4
@ -350,9 +350,12 @@ extern bool IsAutomaticTest()
|
|||||||
s_isAutomatic = username == "buildbot" ||
|
s_isAutomatic = username == "buildbot" ||
|
||||||
username.Matches("sandbox*");
|
username.Matches("sandbox*");
|
||||||
|
|
||||||
// Also recognize Travis CI environment.
|
// Also recognize Travis and AppVeyor CI environments.
|
||||||
if ( !s_isAutomatic )
|
if ( !s_isAutomatic )
|
||||||
s_isAutomatic = wxGetEnv("TRAVIS", NULL);
|
{
|
||||||
|
s_isAutomatic = wxGetEnv("TRAVIS", NULL) ||
|
||||||
|
wxGetEnv("APPVEYOR", NULL);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return s_isAutomatic == 1;
|
return s_isAutomatic == 1;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user