Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1333)

Side by Side Diff: tool/coverage.sh

Issue 1042863004: tweaks to build/test scripts (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « test/test.sh ('k') | tool/presubmit.sh » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/bash 1 #!/bin/bash
2 set -e # bail on error
2 3
3 # Fast fail the script on failures. 4 # Prerequisite: ./tool/build_sdk.sh has been run.
4 set -e
5
6 # Build first
7 ./tool/build_sdk.sh
8
9 dart --checked test/all_tests.dart
10 5
11 # Install dart_coveralls; gather and send coverage data. 6 # Install dart_coveralls; gather and send coverage data.
12 if [ "$COVERALLS_TOKEN" ] && [ "$TRAVIS_DART_VERSION" = "stable" ]; then 7 if [ "$COVERALLS_TOKEN" ] && [ "$TRAVIS_DART_VERSION" = "stable" ]; then
13 pub global run dart_coveralls report \ 8 pub global run dart_coveralls report \
14 --token $COVERALLS_TOKEN \ 9 --token $COVERALLS_TOKEN \
15 --retry 2 \ 10 --retry 2 \
16 --exclude-test-files \ 11 --exclude-test-files \
17 test/all_tests.dart 12 test/all_tests.dart
18 fi 13 fi
OLDNEW
« no previous file with comments | « test/test.sh ('k') | tool/presubmit.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698