2015-12-16 19:01:48 +00:00
|
|
|
language: android
|
2016-04-08 09:22:30 +00:00
|
|
|
jdk:
|
|
|
|
|
- oraclejdk7
|
|
|
|
|
- oraclejdk8
|
|
|
|
|
before_install:
|
|
|
|
|
- export JAVA7_HOME=/usr/lib/jvm/java-7-oracle
|
|
|
|
|
- export JAVA8_HOME=/usr/lib/jvm/java-8-oracle
|
|
|
|
|
- export JAVA_HOME=$JAVA7_HOME
|
2015-12-28 15:24:02 +00:00
|
|
|
|
2015-12-16 19:01:48 +00:00
|
|
|
android:
|
|
|
|
|
components:
|
|
|
|
|
# Uncomment the lines below if you want to
|
|
|
|
|
# use the latest revision of Android SDK Tools
|
|
|
|
|
# - platform-tools
|
|
|
|
|
# - tools
|
|
|
|
|
|
|
|
|
|
# The BuildTools version used by your project
|
|
|
|
|
- build-tools-23.0.1
|
|
|
|
|
|
|
|
|
|
# The SDK version used to compile your project
|
|
|
|
|
- android-23
|
|
|
|
|
|
|
|
|
|
# Additional components
|
|
|
|
|
- extra-google-google_play_services
|
2015-12-16 19:13:30 +00:00
|
|
|
- extra-google-m2repository
|
|
|
|
|
- extra-android-m2repository
|
2015-12-16 19:01:48 +00:00
|
|
|
|
|
|
|
|
# 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
|
2016-03-22 11:39:22 +00:00
|
|
|
script:
|
|
|
|
|
- ./gradlew assembleDebug
|
2016-03-22 12:20:20 +00:00
|
|
|
- ./gradlew testDebugUnitTest
|