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
3351423a
Unverified
Commit
3351423a
authored
Jun 26, 2018
by
Ian Hickson
Committed by
GitHub
Jun 26, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do less wory on AppVeyor since we're running out of time. (#18814)
parent
73498a54
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
14 deletions
+3
-14
appveyor.yml
appveyor.yml
+1
-0
test.dart
dev/bots/test.dart
+2
-14
No files found.
appveyor.yml
View file @
3351423a
...
...
@@ -11,4 +11,5 @@ cache:
build
:
off
test_script
:
-
cmd
:
set SHARD=tests
-
cmd
:
bin\cache\dart-sdk\bin\dart.exe -c dev\bots\test.dart
dev/bots/test.dart
View file @
3351423a
...
...
@@ -26,10 +26,11 @@ final String cyan = hasColor ? '\x1B[36m' : '';
final
String
reset
=
hasColor
?
'
\
x1B[0m'
:
''
;
const
Map
<
String
,
ShardRunner
>
_kShards
=
const
<
String
,
ShardRunner
>{
'docs'
:
_generateDocs
,
'analyze'
:
_analyzeRepo
,
'tests'
:
_runTests
,
'coverage'
:
_runCoverage
,
// 'docs': handled by travis_script.sh and docs.sh
// 'build_and_deploy_gallery': handled by travis_script.sh
};
const
Duration
_kLongTimeout
=
const
Duration
(
minutes:
45
);
...
...
@@ -66,10 +67,6 @@ Future<Null> main(List<String> args) async {
}
}
Future
<
Null
>
_generateDocs
()
async
{
print
(
'
${bold}
DONE: test.dart does nothing in the docs shard.
$reset
'
);
}
Future
<
Null
>
_verifyInternationalizations
()
async
{
final
EvalResult
genResult
=
await
_evalCommand
(
dart
,
...
...
@@ -238,15 +235,6 @@ Future<Null> _runTests() async {
}
Future
<
Null
>
_runCoverage
()
async
{
if
(
Platform
.
environment
[
'TRAVIS'
]
!=
null
)
{
print
(
'
${bold}
DONE: test.dart does not run coverage in Travis
$reset
'
);
return
;
}
if
(
Platform
.
isWindows
)
{
print
(
'
${bold}
DONE: test.dart does not run coverage on Windows
$reset
'
);
return
;
}
final
File
coverageFile
=
new
File
(
path
.
join
(
flutterRoot
,
'packages'
,
'flutter'
,
'coverage'
,
'lcov.info'
));
if
(!
coverageFile
.
existsSync
())
{
print
(
'
${red}
Coverage file not found.
$reset
'
);
...
...
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