kiwix-android/.travis.yml
Abdul Wadood 1e03a4ae72 Update the Android plugin for Gradle. (#677)
Add Android SDK components in .travis.yml
2018-04-01 19:23:45 +01:00

33 lines
704 B
YAML

language: android
jdk: oraclejdk8
sudo: required
install:
- pip install --user 'requests[security]'
- wget -r -nH -nd -np -R index.html* robots.txt* http://download.kiwix.org/dev/android/api/licenses/ -e robots=off -P $ANDROID_HOME/licenses || true
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
android:
components:
- tools
- platform-tools
- tools
- build-tools-27.0.3
- android-27
licenses:
- '.+'
script: ./gradlew assembleKiwixRelease testdroidUploadKiwix && ./testdroid.py