Skip to content

Commit 6928957

Browse files
Robert Spencerfacebook-github-bot
authored andcommitted
Set ANDROID_SDK and ANDROID_HOME for Travis build
Summary: Travis builds are failing due to ANDROID_SDK not being set. So we set both it and ANDROID_HOME to where homebrew should have created a link to the installation. Reviewed By: emilsjolander Differential Revision: D4571703 fbshipit-source-id: a6dc4eb07006dc8baefb6ca938111ff256c6f018
1 parent b680b72 commit 6928957

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ before_install:
5757
export JAVA_HOME=$(/usr/libexec/java_home -v 1.8);
5858
export PATH=$JAVA_HOME/bin:$PATH;
5959
brew install android-sdk;
60+
export ANDROID_SDK=/usr/local/opt/android-sdk
61+
export ANDROID_HOME=/usr/local/opt/android-sdk
6062
fi
6163
6264
script:

0 commit comments

Comments
 (0)