update our build bot exclusions (#10964)

This commit is contained in:
Devon Carew 2017-06-25 21:17:39 -07:00 committed by GitHub
parent 148565eed5
commit f946171817

View File

@ -15,16 +15,20 @@ import 'file_system.dart';
import 'platform.dart';
bool get isRunningOnBot {
// https://docs.travis-ci.com/user/environment-variables/#Default-Environment-Variables
// https://www.appveyor.com/docs/environment-variables/
// CHROME_HEADLESS is one property set on Flutter's Chrome Infra bots.
return
platform.environment['TRAVIS'] == 'true' ||
platform.environment['BOT'] == 'true' ||
// https://docs.travis-ci.com/user/environment-variables/#Default-Environment-Variables
platform.environment['TRAVIS'] == 'true' ||
platform.environment['CONTINUOUS_INTEGRATION'] == 'true' ||
platform.environment.containsKey('CI') || // Travis and AppVeyor
// https://www.appveyor.com/docs/environment-variables/
platform.environment.containsKey('APPVEYOR') ||
// Properties on Flutter's Chrome Infra bots.
platform.environment['CHROME_HEADLESS'] == '1' ||
platform.environment['APPVEYOR'] == 'true' ||
platform.environment['CI'] == 'true';
platform.environment.containsKey('BUILDBOT_BUILDERNAME');
}
String hex(List<int> bytes) {