Skip to content

Commit

Permalink
Better messaging in Travis.
Browse files Browse the repository at this point in the history
  • Loading branch information
renggli committed Mar 10, 2018
1 parent 0332030 commit b94878c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tool/travis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,13 @@ set -e

# Verify Dart 2.0 strict mode compatibility.
if [ "${TRAVIS_DART_VERSION}" = "dev" ]; then
echo "Verifying Dart 2.0 strict mode ..."
dart --preview-dart-2 test/all_tests.dart
fi

# Verify the coverage of the tests.
if [ "${COVERALLS_TOKEN}" ] && [ "${TRAVIS_DART_VERSION}" = "stable" ]; then
echo "Verifying test coverage ..."
pub global activate dart_coveralls
pub global run dart_coveralls report \
--token "${COVERALLS_TOKEN}" \
Expand Down

0 comments on commit b94878c

Please sign in to comment.