Twidere-App-Android-Twitter.../.travis.yml

52 lines
1.1 KiB
YAML
Raw Normal View History

language: android
android:
components:
# Uncomment the lines below if you want to
# use the latest revision of Android SDK Tools
2015-03-16 06:48:09 +01:00
- platform-tools
- tools
# The BuildTools version used by your project
- build-tools-23.0.2
# The SDK version used to compile your project
- android-23
# Additional components
- extra-google-google_play_services
- extra-google-m2repository
- extra-android-m2repository
# Specify at least one system image,
# if you need to run emulator(s) during your tests
# - sys-img-armeabi-v7a-android-19
# - sys-img-x86-android-17
2015-11-22 15:55:29 +01:00
sudo: false
2015-03-17 10:34:15 +01:00
2015-11-26 03:37:07 +01:00
jdk:
- oraclejdk8
2015-08-16 15:16:05 +02:00
env:
global:
MALLOC_ARENA_MAX=2
2015-11-26 15:00:03 +01:00
GRADLE_OPTS=-Xmx1024m -Dorg.gradle.parallel=false
2015-08-16 15:16:05 +02:00
2015-08-13 14:59:03 +02:00
addons:
apt:
packages:
- python2.7
- libmagic1
2015-11-26 03:37:07 +01:00
cache:
directories:
- $HOME/.local/opt
2015-11-25 14:13:11 +01:00
before_install:
2016-01-07 05:17:03 +01:00
- ./travis/scripts/extract_private_build_config.sh
- export PATH=$HOME/.local/bin:$PATH
2015-11-26 15:00:03 +01:00
- pip install -r ./travis/configs/requirements.txt --user
2015-08-13 14:59:03 +02:00
2015-11-26 15:00:03 +01:00
script: ./gradlew build --no-daemon --stacktrace
2015-08-13 14:59:03 +02:00
2015-11-26 15:00:03 +01:00
after_success: ./travis/scripts/travis_upload_release_to_github.py