2014-09-24 22:14:04 +02:00
|
|
|
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
|
2014-09-24 22:14:04 +02:00
|
|
|
|
|
|
|
# The BuildTools version used by your project
|
2015-11-25 08:33:18 +01:00
|
|
|
- build-tools-23.0.2
|
2014-09-24 22:14:04 +02:00
|
|
|
|
|
|
|
# The SDK version used to compile your project
|
2015-08-28 12:16:41 +02:00
|
|
|
- android-23
|
2014-09-24 22:14:04 +02:00
|
|
|
|
|
|
|
# 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-08-13 14:59:03 +02:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- python2.7
|
2015-09-21 12:15:42 +02:00
|
|
|
- libmagic1
|
|
|
|
|
2015-11-26 03:37:07 +01:00
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- $HOME/.local/opt
|
|
|
|
|
2015-11-25 14:13:11 +01:00
|
|
|
before_install:
|
|
|
|
- ./scripts/install_android_ndk.sh
|
2015-09-21 12:15:42 +02:00
|
|
|
- export PATH=$HOME/.local/bin:$PATH
|
2015-11-25 14:13:11 +01:00
|
|
|
- pip install -r ./configs/requirements.txt --user
|
2015-08-13 14:59:03 +02:00
|
|
|
|
|
|
|
script: ./gradlew build --no-daemon
|
|
|
|
|
2015-06-26 11:24:11 +02:00
|
|
|
after_success: ./scripts/travis_upload_release_to_github.py
|