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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tool/ensure_dartfmt.sh ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tool/travis.sh
diff --git a/tool/travis.sh b/tool/travis.sh
index 4ca306097ba0d4fbd82690f056141829925654a2..d75eda92833c2dcb4d5c7e37886d9e593ce9cd0c 100755
--- a/tool/travis.sh
+++ b/tool/travis.sh
@@ -3,6 +3,11 @@
# Fast fail the script on failures.
set -e
+# Only check formatting on stable branch
+if [ "$TRAVIS_DART_VERSION" = "stable" ]; then
+ $(dirname -- "$0")/ensure_dartfmt.sh
+fi
+
dartanalyzer lib/box2d.dart
# Run the benchmark script as a simple sanity check
« 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