From 219e1318bb6aa1d464c2bd0333377c9cd97d32eb Mon Sep 17 00:00:00 2001 From: Seth Ladd Date: Tue, 15 Dec 2015 09:24:13 -0800 Subject: [PATCH 1/2] Use a newer version of dartdoc --- travis/test.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/travis/test.sh b/travis/test.sh index b8b9c8d815e..11eebcb1963 100755 --- a/travis/test.sh +++ b/travis/test.sh @@ -21,6 +21,8 @@ flutter test --flutter-repo if [ $TRAVIS_PULL_REQUEST = "false" ]; then if [ $TRAVIS_BRANCH = "master" ]; then + pub global activate dartdoc 0.8.4 + export PATH="$PATH":"~/.pub-cache/bin" (cd packages/flutter; dartdoc --header=doc/styles.html) GSUTIL=$HOME/google-cloud-sdk/bin/gsutil From 070b227b121c44c8c90ff57087152a6a58049212 Mon Sep 17 00:00:00 2001 From: Seth Ladd Date: Tue, 15 Dec 2015 12:18:30 -0800 Subject: [PATCH 2/2] call dartdoc with a more explicit path --- travis/test.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/travis/test.sh b/travis/test.sh index 11eebcb1963..50a691ab99b 100755 --- a/travis/test.sh +++ b/travis/test.sh @@ -22,8 +22,7 @@ flutter test --flutter-repo if [ $TRAVIS_PULL_REQUEST = "false" ]; then if [ $TRAVIS_BRANCH = "master" ]; then pub global activate dartdoc 0.8.4 - export PATH="$PATH":"~/.pub-cache/bin" - (cd packages/flutter; dartdoc --header=doc/styles.html) + (cd packages/flutter; ~/.pub-cache/bin/dartdoc --header=doc/styles.html) GSUTIL=$HOME/google-cloud-sdk/bin/gsutil GCLOUD=$HOME/google-cloud-sdk/bin/gcloud