Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
f9461718
Commit
f9461718
authored
Jun 26, 2017
by
Devon Carew
Committed by
GitHub
Jun 26, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update our build bot exclusions (#10964)
parent
148565ee
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
6 deletions
+10
-6
utils.dart
packages/flutter_tools/lib/src/base/utils.dart
+10
-6
No files found.
packages/flutter_tools/lib/src/base/utils.dart
View file @
f9461718
...
...
@@ -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
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment