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

Side by Side Diff: tool/travis.sh

Issue 1138063003: pkg/box2d: 0.2.0 release (Closed) Base URL: https://github.com/google/dbox2d.git@master
Patch Set: Created 5 years, 7 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 | « tool/ensure_dartfmt.sh ('k') | no next file » | 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 2
3 # Fast fail the script on failures. 3 # Fast fail the script on failures.
4 set -e 4 set -e
5 5
6 # Only check formatting on stable branch
7 if [ "$TRAVIS_DART_VERSION" = "stable" ]; then
8 $(dirname -- "$0")/ensure_dartfmt.sh
9 fi
10
6 dartanalyzer lib/box2d.dart 11 dartanalyzer lib/box2d.dart
7 12
8 # Run the benchmark script as a simple sanity check 13 # Run the benchmark script as a simple sanity check
9 dart --checked --error_on_bad_type --error_on_bad_override benchmark/bench2d.dar t 14 dart --checked --error_on_bad_type --error_on_bad_override benchmark/bench2d.dar t
10 15
11 # Install dart_coveralls; gather and send coverage data. 16 # Install dart_coveralls; gather and send coverage data.
12 if [ "$COVERALLS_TOKEN" ] && [ "$TRAVIS_DART_VERSION" = "stable" ]; then 17 if [ "$COVERALLS_TOKEN" ] && [ "$TRAVIS_DART_VERSION" = "stable" ]; then
13 pub global activate dart_coveralls 18 pub global activate dart_coveralls
14 pub global run dart_coveralls report \ 19 pub global run dart_coveralls report \
15 --token $COVERALLS_TOKEN \ 20 --token $COVERALLS_TOKEN \
16 --retry 2 \ 21 --retry 2 \
17 --exclude-test-files \ 22 --exclude-test-files \
18 benchmark/bench2d.dart 23 benchmark/bench2d.dart
19 fi 24 fi
OLDNEW
« no previous file with comments | « tool/ensure_dartfmt.sh ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698