From 67d39b037c171c207785efa333d970b7d9ed3cb6 Mon Sep 17 00:00:00 2001 From: len Date: Sat, 30 Sep 2017 22:15:15 +0200 Subject: [PATCH] Clone NDK for Travis --- .travis.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 14286a19e..fbb2a1e92 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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"