Chromium Code Reviews| 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 |