This commit is contained in:
Eric Seidel 2016-06-02 14:17:21 -07:00
parent a464052191
commit 4c86b73027

View File

@ -13,7 +13,9 @@ bool get isRunningOnBot {
// https://docs.travis-ci.com/user/environment-variables/#Default-Environment-Variables // https://docs.travis-ci.com/user/environment-variables/#Default-Environment-Variables
return return
Platform.environment['TRAVIS'] == 'true' || Platform.environment['TRAVIS'] == 'true' ||
Platform.environment['CONTINUOUS_INTEGRATION'] == 'true'; Platform.environment['CONTINUOUS_INTEGRATION'] == 'true' ||
// CHORME_HEADLESS is one property set on Flutter's Chrome Infra bots.
Platform.environment['CHORME_HEADLESS'] == '1';
} }
String hex(List<int> bytes) { String hex(List<int> bytes) {