| OLD | NEW |
| 1 #!/bin/bash | 1 #!/bin/bash |
| 2 set -e # bail on error | 2 set -e # bail on error |
| 3 | 3 |
| 4 # Prerequisite: ./tool/build_sdk.sh has been run. | 4 # Prerequisite: ./tool/build_sdk.sh has been run. |
| 5 | 5 |
| 6 # Install dart_coveralls; gather and send coverage data. | 6 # Install dart_coveralls; gather and send coverage data. |
| 7 if [ "$COVERALLS_TOKEN" ] && [ "$TRAVIS_DART_VERSION" = "stable" ]; then | 7 if [ "$COVERALLS_TOKEN" ] && [ "$TRAVIS_DART_VERSION" = "dev" ]; then |
| 8 pub global run dart_coveralls report \ | 8 pub global run dart_coveralls report \ |
| 9 --token $COVERALLS_TOKEN \ | 9 --token $COVERALLS_TOKEN \ |
| 10 --retry 2 \ | 10 --retry 2 \ |
| 11 --exclude-test-files \ | 11 --exclude-test-files \ |
| 12 test/all_tests.dart | 12 test/all_tests.dart |
| 13 fi | 13 fi |
| OLD | NEW |