Disable the coverage shard in Travis (#11512)

In a Travis environment, the test package is exiting the process after
completing the tests.
See dart-lang/test@d1057c4

The flutter test command calls the test package's main() and then expects to
do other work afterward.  The exit prevents flutter test from writing the
new coverage results, causing the coveralls tool to run against an old
lcov.info file.
This commit is contained in:
Jason Simmons
2017-08-03 18:05:49 -07:00
committed by GitHub
parent cf8d11ad1b
commit 7df854ad47

View File

@@ -19,7 +19,11 @@ install:
env:
- SHARD=analyze
- SHARD=tests
- SHARD=coverage
# Temporarily disable the coverage shard. The test package is exiting
# the process after tests run, preventing the flutter test command from
# writing coverage results.
# TODO(jsimmons): reenable coverage when a new test package is available.
# - SHARD=coverage
- SHARD=docs
before_script:
- ./dev/bots/travis_setup.sh