update setup scripts

This commit is contained in:
Max Lv
2015-11-10 09:53:49 +08:00
parent 99ff552a74
commit 1c7ca95b1a
2 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -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:
+4
View File
@@ -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