mirror of
https://github.com/MinimalBible/MinimalBible
synced 2024-11-22 07:58:20 -05:00
Have to use Travis to set ANDROID_HOME
This commit is contained in:
parent
15d2e34247
commit
49e5087595
@ -1,4 +1,6 @@
|
|||||||
language: java
|
language: java
|
||||||
|
env:
|
||||||
|
- ANDROID_HOME="./android-sdk-linux"
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- bash android_install.sh $COMPONENTS
|
- bash android_install.sh $COMPONENTS
|
||||||
|
@ -11,14 +11,10 @@ extra-google-m2repository"
|
|||||||
|
|
||||||
wget http://dl.google.com/android/android-sdk_r23.0.2-linux.tgz
|
wget http://dl.google.com/android/android-sdk_r23.0.2-linux.tgz
|
||||||
tar -zxvf android-sdk_r23.0.2-linux.tgz
|
tar -zxvf android-sdk_r23.0.2-linux.tgz
|
||||||
cd android-sdk-linux/
|
|
||||||
export ANDROID_HOME=`pwd`
|
|
||||||
ls
|
|
||||||
ls *
|
|
||||||
|
|
||||||
for COMP in ${COMPONENTS}
|
for COMP in ${COMPONENTS}
|
||||||
do
|
do
|
||||||
echo "yes" | tools/android update sdk -u -a -t ${COMP}
|
echo "yes" | android-sdk-linux/tools/android update sdk -u -a -t ${COMP}
|
||||||
done
|
done
|
||||||
|
|
||||||
cd -
|
cd -
|
||||||
|
Loading…
Reference in New Issue
Block a user