update setup scripts
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
before_cache:
|
||||
- find $HOME/.sbt -name "*.lock" | xargs rm
|
||||
- find $HOME/.ivy2/ -name "*.lock" | xargs rm
|
||||
- find $HOME/.ivy2 -name "*.lock" | xargs rm
|
||||
|
||||
cache:
|
||||
directories:
|
||||
|
||||
@@ -14,12 +14,16 @@ if [ ! -d "$ANDROID_HOME" ]
|
||||
pushd $HOME/.android
|
||||
wget -q http://dl.google.com/android/android-sdk_r24.3.4-linux.tgz
|
||||
tar xf android-sdk_r24.3.4-linux.tgz
|
||||
popd
|
||||
fi
|
||||
|
||||
if [ ! -d "$ANDROID_NDK_HOME" ]
|
||||
mkdir -p $ANDROID_NDK_HOME
|
||||
pushd $HOME/.android
|
||||
wget -q http://dl.google.com/android/ndk/android-ndk-r10d-linux-${ARCH}.bin
|
||||
chmod +x android-ndk-r10d-linux-${ARCH}.bin
|
||||
./android-ndk-r10d-linux-${ARCH}.bin -y &> /dev/null
|
||||
popd
|
||||
fi
|
||||
|
||||
echo "y" | android update sdk --filter tools,platform-tools,build-tools-23.0.1,android-23,extra-google-m2repository
|
||||
|
||||
Reference in New Issue
Block a user