commit | 116932db30fe671d7abef372c21dc4face599ee1 | [log] [tgz] |
---|---|---|
author | Georgios Valotasios <valotas@gmail.com> | Sun Mar 05 17:58:08 2017 |
committer | Georgios Valotasios <valotas@gmail.com> | Sun Mar 05 17:58:08 2017 |
tree | 3f9f3ea2f6edac6d96056968bbf7d82889508cce | |
parent | a3db44bb12cf3dcb50cf3413b31d048f989ac757 [diff] |
Check for COVERALLS_TOKEN before trying running coverall
diff --git a/build.sh b/build.sh index f655354..37a8bae 100755 --- a/build.sh +++ b/build.sh
@@ -20,7 +20,7 @@ pub run test # Install dart_coveralls; gather and send coverage data. -if [ "$TRAVIS_DART_VERSION" = "stable" ]; then +if [ "$COVERALLS_TOKEN" ] && [ "$TRAVIS_DART_VERSION" = "stable" ]; then pub global activate dart_coveralls pub global run dart_coveralls report \ --retry 2 \