Commit 7d83903e authored by Ian Hickson's avatar Ian Hickson

Allow travis/test.sh to be run locally (not on travis)

This helps people check that all the tests will pass before they send a PR.
parent c8126288
......@@ -18,8 +18,8 @@ flutter analyze --flutter-repo --no-current-directory --no-current-package --con
(cd examples/stocks; flutter test)
if [ $TRAVIS_PULL_REQUEST = "false" ]; then
if [ $TRAVIS_BRANCH = "master" ]; then
if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then
if [ "$TRAVIS_BRANCH" = "master" ]; then
pub global activate dartdoc 0.8.4
cat packages/flutter/doc/styles.html doc/_analytics.html > /tmp/_header.html
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment