Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 #!/bin/bash | |
| 2 | |
| 3 # Fast fail the script on failures. | |
| 4 set -e | |
| 5 | |
| 6 # Run the tests. | |
| 7 dart --checked test/test_all.dart | |
| 8 | |
| 9 # Install dart_coveralls; gather and send coverage data. | |
| 10 if [ "$COVERALLS_TOKEN" ] && [ "$TRAVIS_DART_VERSION" = "stable" ]; then | |
| 11 pub global activate dart_coveralls | |
| 12 pub global run dart_coveralls report \ | |
| 13 --token $COVERALLS_TOKEN \ | |
| 14 --retry 2 \ | |
| 15 --exclude-test-files \ | |
| 16 test/test_all.dart | |
| 17 fi | |
| OLD | NEW |