Updating Android SDK used by Travis CI

ffmpeg_4.4.2
Javernaut 5 years ago
parent bd7284d363
commit ef1c06511e
  1. 4
      .travis.yml

@ -3,12 +3,12 @@ jdk: openjdk8
dist: xenial dist: xenial
install: install:
# Installing Android SDK # Installing Android SDK
- curl https://dl.google.com/android/repository/sdk-tools-linux-4333796.zip --output $HOME/android-sdk.zip - curl https://dl.google.com/android/repository/commandlinetools-linux-6200805_latest.zip --output $HOME/android-sdk.zip
- unzip -qq $HOME/android-sdk.zip -d $HOME/android-sdk - unzip -qq $HOME/android-sdk.zip -d $HOME/android-sdk
- export ANDROID_SDK_HOME=$HOME/android-sdk - export ANDROID_SDK_HOME=$HOME/android-sdk
- export ANDROID_NDK_HOME=$ANDROID_SDK_HOME/ndk/21.0.6113669 - export ANDROID_NDK_HOME=$ANDROID_SDK_HOME/ndk/21.0.6113669
# Installing necessary components of Android SDK # Installing necessary components of Android SDK
- function installAndroidComponent() { yes | ${ANDROID_SDK_HOME}/tools/bin/sdkmanager $1 > /dev/null; } - function installAndroidComponent() { yes | ${ANDROID_SDK_HOME}/tools/bin/sdkmanager --sdk_root=${ANDROID_SDK_HOME} $1 > /dev/null; }
- installAndroidComponent "ndk;21.0.6113669" - installAndroidComponent "ndk;21.0.6113669"
- installAndroidComponent "cmake;3.10.2.4988404" - installAndroidComponent "cmake;3.10.2.4988404"
# Installing meson, ninja and nasm that are necessary for libdav1d building # Installing meson, ninja and nasm that are necessary for libdav1d building

Loading…
Cancel
Save