2016-02-06 18:58:58 +01:00
|
|
|
language: android
|
2016-09-21 11:58:44 +02:00
|
|
|
jdk: oraclejdk8
|
|
|
|
sudo: false
|
2016-02-06 18:58:58 +01:00
|
|
|
|
|
|
|
env:
|
|
|
|
matrix:
|
2017-11-11 16:26:18 +01:00
|
|
|
- ANDROID_TARGET=android-26
|
2017-08-31 10:11:02 +02:00
|
|
|
global:
|
|
|
|
- GRADLE_OPTS="-Xms128m"
|
2016-02-06 18:58:58 +01:00
|
|
|
|
|
|
|
android:
|
|
|
|
components:
|
2016-06-01 08:05:22 +02:00
|
|
|
# following added as quick fix to get support for 23.0.3 build tools
|
|
|
|
# "tools" always refers to the latest build tools version. Remove this
|
|
|
|
# when travis is able to parse "build-tools-23.0.3" correctly.
|
|
|
|
# See https://github.com/travis-ci/travis-ci/issues/5036
|
|
|
|
- tools
|
2016-02-06 18:58:58 +01:00
|
|
|
# needed build tools
|
2017-11-11 16:26:18 +01:00
|
|
|
- build-tools-26.0.2
|
2016-02-06 18:58:58 +01:00
|
|
|
|
|
|
|
# The SDK version used to compile your project
|
2017-11-11 16:26:18 +01:00
|
|
|
- android-26
|
2016-02-06 18:58:58 +01:00
|
|
|
|
|
|
|
# extra needed components
|
|
|
|
- extra-android-m2repository
|
|
|
|
|
|
|
|
before_script:
|
|
|
|
|
|
|
|
script:
|
2017-12-22 19:20:41 +01:00
|
|
|
- ./gradlew lintFullRelease testFullDebugUnitTest assembleFullRelease
|