From 59a3a5306a61334810c7ced9bc0bcebcda19eeea Mon Sep 17 00:00:00 2001 From: Javernaut Date: Mon, 9 Dec 2019 13:39:12 +0200 Subject: [PATCH] .travis.yms documenting --- .travis.yml | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/.travis.yml b/.travis.yml index 5d09e69..723ba92 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,23 +2,19 @@ language: java jdk: openjdk8 dist: xenial install: + # Installing Android SDK - curl https://dl.google.com/android/repository/sdk-tools-linux-4333796.zip --output $HOME/android-sdk.zip - unzip -qq $HOME/android-sdk.zip -d $HOME/android-sdk - export ANDROID_SDK_HOME=$HOME/android-sdk - export ANDROID_NDK_HOME=$ANDROID_SDK_HOME/ndk/20.1.5948944 + # Installing necessary components of Android SDK - function installAndroidComponent() { yes | ${ANDROID_SDK_HOME}/tools/bin/sdkmanager $1 > /dev/null; } - installAndroidComponent "ndk;20.1.5948944" - - installAndroidComponent "patcher;v4" - installAndroidComponent "cmake;3.10.2.4988404" - # Keeping track of the NDK version that was used - - cat $ANDROID_NDK_HOME/source.properties - # Installing meson for libdav1d building - - sudo apt-get install nasm python3-pip python3-setuptools python3-wheel ninja-build + # Installing meson, ninja and nasm that are necessary for libdav1d building + - sudo apt-get install python3-pip python3-setuptools python3-wheel ninja-build - sudo pip3 install meson - - curl http://archive.ubuntu.com/ubuntu/pool/universe/n/nasm/nasm_2.13.02-0.1_amd64.deb --output nasm_2.13.02-0.1_amd64.deb - - sudo dpkg -i nasm_2.13.02-0.1_amd64.deb - # - sudo apt-get update - # - sudo apt-get upgrade - # - sudo apt-get install dpkg + - curl http://archive.ubuntu.com/ubuntu/pool/universe/n/nasm/nasm_2.13.02-0.1_amd64.deb --output $HOME/nasm_2.13.02-0.1_amd64.deb + - sudo dpkg -i $HOME/nasm_2.13.02-0.1_amd64.deb script: - bash -e ffmpeg-android-maker.sh --enable-libdav1d --enable-libmp3lame --enable-libaom