mirror of
https://github.com/gsantner/dandelion
synced 2024-11-25 13:52:08 +01:00
39 lines
1.2 KiB
YAML
39 lines
1.2 KiB
YAML
|
###################
|
||
|
general:
|
||
|
artifacts:
|
||
|
- /home/ubuntu/dandelion/app/build/outputs/apk/
|
||
|
branches:
|
||
|
ignore:
|
||
|
- gh-pages
|
||
|
- l10n_master
|
||
|
- crowdin
|
||
|
|
||
|
###################
|
||
|
machine:
|
||
|
java:
|
||
|
version: oraclejdk8
|
||
|
environment:
|
||
|
ANDROID_HOME: /usr/local/android-sdk-linux
|
||
|
|
||
|
###################
|
||
|
dependencies:
|
||
|
pre:
|
||
|
# Android SDK Platform
|
||
|
- if [ ! -d "/usr/local/android-sdk-linux/platforms/android-24" ]; then echo y | android update sdk --no-ui --all --filter "android-24"; fi
|
||
|
# Android SDK Build-tools
|
||
|
- if [ ! -d "/usr/local/android-sdk-linux/build-tools/24.0.3" ]; then echo y | android update sdk --no-ui --all --filter "build-tools-24.0.3"; fi
|
||
|
# Android Support Repository
|
||
|
- if [ ! -d "/usr/local/android-sdk-linux/extras/android/m2repository/com/android/support/design/24.2.0" ]; then echo y | android update sdk --no-ui --all --filter "extra-android-m2repository"; fi
|
||
|
|
||
|
|
||
|
cache_directories:
|
||
|
- /usr/local/android-sdk-linux/platforms/android-24
|
||
|
- /usr/local/android-sdk-linux/build-tools/24.0.3
|
||
|
- /usr/local/android-sdk-linux/extras/android/m2repository
|
||
|
|
||
|
###################
|
||
|
test:
|
||
|
override:
|
||
|
- (./gradlew assembleFlavorDefault):
|
||
|
timeout: 360
|