mirror of
https://github.com/TeamNewPipe/NoNonsense-FilePicker
synced 2024-10-17 20:30:37 -04:00
80b349e420
* Altered Dropbox login logic so that the sample won't get stuck in a loop if the user doesn't authenticate with Dropbox. Previously, if they cancelled the login process, they would immediately be taken back to Dropbox to log in again...and again! * Removed the RecyclerView from DropboxFilePickerFragment.java, as it is already declared and instantiated in AbstractFilePickerFragment.java
43 lines
1 KiB
YAML
43 lines
1 KiB
YAML
sudo: false
|
|
language: android
|
|
jdk:
|
|
- oraclejdk8
|
|
env:
|
|
android:
|
|
components:
|
|
- platform-tools
|
|
- tools
|
|
- build-tools-26.0.2
|
|
- android-24
|
|
# - sys-img-armeabi-v7a-android-23
|
|
- extra-android-support
|
|
- extra-google-m2repository
|
|
- extra-android-m2repository
|
|
licenses:
|
|
- 'android-sdk-license-.+'
|
|
- 'google-gdk-license-.+'
|
|
- '.*intel.+'
|
|
|
|
before_cache:
|
|
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
|
|
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
|
|
cache:
|
|
directories:
|
|
- $HOME/.gradle/caches/
|
|
- $HOME/.gradle/wrapper/
|
|
- $HOME/.android/build-cache
|
|
|
|
# Emulator Management: Create, Start and Wait
|
|
#before_script:
|
|
# x86 requires kvm which is not available on travis containers
|
|
# - echo no | android create avd --force -n test -t android-23 --abi armeabi-v7a
|
|
# - emulator -avd test -gpu off -no-audio -no-window &
|
|
# - android-wait-for-emulator
|
|
# - adb shell input keyevent 82 &
|
|
|
|
before_install:
|
|
- chmod +x gradlew
|
|
|
|
script:
|
|
- ./gradlew build check #testDebugUnitTest connectedDebugAndroidTest
|