From cc3be59198fcbcb2b200b16e2c6c88a685fd2b07 Mon Sep 17 00:00:00 2001 From: Devon Carew <devoncarew@gmail.com> Date: Tue, 24 Feb 2015 13:01:51 -0800 Subject: [PATCH] send coverage data to coveralls --- tool/travis.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tool/travis.sh b/tool/travis.sh index b31d092..4126cf2 100755 --- a/tool/travis.sh +++ b/tool/travis.sh @@ -18,3 +18,13 @@ dart test/all.dart # Run all the generators and analyze the generated code. dart tool/grind.dart test + +# Install dart_coveralls; gather and send coverage data. +if [ "$COVERALLS_TOKEN" ]; then + pub global activate dart_coveralls + pub global run dart_coveralls report \ + --token $COVERALLS_TOKEN \ + --retry 2 \ + --exclude-test-files \ + test/all.dart +fi -- GitLab