From 0b5c1dacc2148861df772546d92fbd0248d0f0d4 Mon Sep 17 00:00:00 2001 From: xster Date: Mon, 5 Feb 2018 15:00:30 -0800 Subject: [PATCH] Bundle install before running fastlane on Travis (#14470) --- dev/bots/travis_script.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev/bots/travis_script.sh b/dev/bots/travis_script.sh index 982d3b17cb..ec25779adb 100755 --- a/dev/bots/travis_script.sh +++ b/dev/bots/travis_script.sh @@ -13,7 +13,7 @@ if [ "$SHARD" = "build_and_deploy_gallery" ]; then echo "Android Flutter Gallery built" if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then # TODO(xster): add back && [ "$TRAVIS_BRANCH" = "dev" ] after testing echo "Deploying to Play Store..." - (cd examples/flutter_gallery/android; bundle exec fastlane deploy_play_store) + (cd examples/flutter_gallery/android; bundle install && bundle exec fastlane deploy_play_store) else echo "Flutter Gallery is only deployed to the Play Store on merged dev branch commits" fi @@ -23,7 +23,7 @@ if [ "$SHARD" = "build_and_deploy_gallery" ]; then echo "iOS Flutter Gallery built" if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then # TODO(xster): add back && [ "$TRAVIS_BRANCH" = "dev" ] after testing echo "Re-building with distribution profile and deploying to TestFlight..." - (cd examples/flutter_gallery/ios; bundle exec fastlane build_and_deploy_testflight) + (cd examples/flutter_gallery/ios; bundle install && bundle exec fastlane build_and_deploy_testflight) else echo "Flutter Gallery is only deployed to the TestFlight on merged dev branch commits" fi