Browse Source

travis: android: accept all licenses

pull/2/head
Alibek Omarov 5 years ago
parent
commit
dc8b8ccab3
  1. 3
      .travis.yml
  2. 1
      scripts/travis_android_deps.sh

3
.travis.yml

@ -74,9 +74,10 @@ jobs: @@ -74,9 +74,10 @@ jobs:
language: java # we want xenial, so just java, not android
jdk: openjdk8
before_script:
- export ANDROID_HOME=$TRAVIS_BUILD_DIR/sdk
- sh scripts/travis_common_deps.sh
- sh scripts/travis_android_deps.sh
- export ANDROID_SDK_HOME=$TRAVIS_BUILD_DIR/sdk
- export ANDROID_SDK_HOME=$ANDROID_HOME
- export ANDROID_NDK_HOME=$ANDROID_SDK_HOME/ndk-bundle
script:
- cd android

1
scripts/travis_android_deps.sh

@ -14,6 +14,7 @@ unzip sdk.zip > /dev/null 2>/dev/null || exit 1 @@ -14,6 +14,7 @@ unzip sdk.zip > /dev/null 2>/dev/null || exit 1
cd $TRAVIS_BUILD_DIR
echo "Download all needed tools and NDK"
yes | sdk/tools/bin/sdkmanager --licenses
sdk/tools/bin/sdkmanager --install build-tools\;29.0.1 platform-tools platforms\;android-19 ndk-bundle
echo "Download Xash3D FWGS Android source"

Loading…
Cancel
Save