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
This commit is contained in:
Robert Spencer
2017-02-16 02:48:59 -08:00
committed by Facebook Github Bot
parent b680b726d1
commit 6928957096

View File

@@ -57,6 +57,8 @@ before_install:
export JAVA_HOME=$(/usr/libexec/java_home -v 1.8);
export PATH=$JAVA_HOME/bin:$PATH;
brew install android-sdk;
export ANDROID_SDK=/usr/local/opt/android-sdk
export ANDROID_HOME=/usr/local/opt/android-sdk
fi
script: