Clone NDK for Travis

This commit is contained in:
len 2017-09-30 22:15:15 +02:00
parent dd3f5a146d
commit 67d39b037c

View file

@ -13,10 +13,11 @@ android:
licenses:
- android-sdk-license-.+
before_install:
- openssl aes-256-cbc -K $encrypted_e56be693d4fd_key -iv $encrypted_e56be693d4fd_iv
-in "$PWD/.travis/secrets.tar.enc" -out secrets.tar -d
- openssl aes-256-cbc -K $encrypted_e56be693d4fd_key -iv $encrypted_e56be693d4fd_iv -in "$PWD/.travis/secrets.tar.enc" -out secrets.tar -d
- tar xf secrets.tar
- mv debug.keystore "$HOME/.android"
- git clone https://github.com/urho3d/android-ndk.git $HOME/android-ndk-root
- export ANDROID_NDK_HOME=$HOME/android-ndk-root
- mkdir "$ANDROID_HOME/licenses" || true
- echo -e "\n8933bad161af4178b1185d1a37fbf41ea5269c55" > "$ANDROID_HOME/licenses/android-sdk-license"
- echo -e "\n84831b9409646a918e30573bab4c9c91346d8abd" > "$ANDROID_HOME/licenses/android-sdk-preview-license"