From 7df854ad473d96c885ac178199fdb551f2e7b6e4 Mon Sep 17 00:00:00 2001 From: Jason Simmons Date: Thu, 3 Aug 2017 18:05:49 -0700 Subject: [PATCH] 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. --- .travis.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index ae222a6f62..b1f4887364 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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