From d86981c8b4c7b91e945613d0d915d806ff417899 Mon Sep 17 00:00:00 2001 From: Darshan Parajuli Date: Tue, 9 Mar 2021 17:36:17 -0800 Subject: [PATCH] Updated travis config --- .travis.yml | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index adc7a7b..360aa64 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,11 +1,22 @@ language: android dist: trusty +sudo: true + android: components: - - tools # to get the new `repository-11.xml` - - tools # see https://github.com/travis-ci/travis-ci/issues/6040#issuecomment-219367943) + - tools - platform-tools - - build-tools-29.0.3 - - android-29 + - tools + - extra-android-m2repository + licenses: + - 'android-sdk-preview-license-.+' + - 'android-sdk-license-.+' + - 'google-gdk-license-.+' + +before_install: + - touch $HOME/.android/repositories.cfg + - yes | sdkmanager "platforms;android-30" + - yes | sdkmanager "build-tools;30.0.3" + script: - - ./gradlew assembleDebug test + - ./gradlew clean test