forked from Antox/Antox
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
36 lines (34 loc) · 1022 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
language: android
cache: false
sudo: false
jdk:
- oraclejdk8
env:
global:
- _JAVA_OPTIONS="-Xms512m -Xmx1024m"
- GRADLE_OPTS='-Xmx512m -Dorg.gradle.jvmargs="-Xmx1700m -XX:+HeapDumpOnOutOfMemoryError -XX:MaxPermSize=1700m"'
android:
components:
- tools # to get the new `repository-11.xml`
- tools # see https://github.com/travis-ci/travis-ci/issues/6040#issuecomment-219367943)
- platform-tools
- build-tools-23.0.3
- build-tools-24.0.2
- build-tools-25.0.2
- android-21
- android-22
- android-23
- android-24
- android-25
- extra-android-m2repository
- extra-google-m2repository
- extra-android-support
licenses:
- '.+'
- 'android-sdk-license-.+'
script:
- rm -fv app/libs/tox4j*.jar # make sure dependencies are really downloaded and not old ones from repo get used
- chmod a+rx ./download-dependencies.sh
- ./download-dependencies.sh
- ./gradlew assembleDebug -x lint --stacktrace
- find . -name '*.apk' -exec ls -al {} \;