7cb01cb2a6
this is a follow up to reverted https://github.com/dart-lang/dev_compiler/pull/114 it relands it so it can pass on travis, with some additional tweaks to names The new structure is: tool/ presubmit.sh # both build and test build_sdk.sh test.sh coverage.sh test/test.sh # deprecated, with a warning message Thoughts? R=sigmund@google.com Review URL: https://codereview.chromium.org/1042863004
14 lines
359 B
Bash
Executable File
14 lines
359 B
Bash
Executable File
#!/bin/bash
|
|
set -e # bail on error
|
|
|
|
# Prerequisite: ./tool/build_sdk.sh has been run.
|
|
|
|
# Install dart_coveralls; gather and send coverage data.
|
|
if [ "$COVERALLS_TOKEN" ] && [ "$TRAVIS_DART_VERSION" = "stable" ]; then
|
|
pub global run dart_coveralls report \
|
|
--token $COVERALLS_TOKEN \
|
|
--retry 2 \
|
|
--exclude-test-files \
|
|
test/all_tests.dart
|
|
fi
|