Update Travis Android SDK and NDK gear

pull/762/head
Jeffrey Walton 2018-12-09 08:11:04 -05:00
parent e08898b215
commit 354e7ca7c9
No known key found for this signature in database
GPG Key ID: B36AB348921B1838
1 changed files with 10 additions and 2 deletions

View File

@ -2,8 +2,16 @@
set -e
# for local debugging
if [[ -f setenv-travis.sh ]]; then
source setenv-travis.sh
if [[ -f ./setenv-travis.sh ]]; then
echo "Setting variables in setenv-travis.sh"
source ./setenv-travis.sh
elif [[ -f ./TestScripts/setenv-travis.sh ]]; then
echo "Setting variables in TestScripts/setenv-travis.sh"
source ./TestScripts/setenv-travis.sh
fi
if [[ -z "$ANDROID_SDK_ROOT" ]] || [[ -z "$ANDROID_NDK_ROOT" ]]; then
echo "ANDROID_SDK_ROOT or ANDROID_NDK_ROOT is not set"
fi
# install android deps