-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy path.travis.yml
43 lines (36 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
37
38
39
40
41
42
43
language: android
jdk: oraclejdk8
sudo: false
env:
- GRADLE_OPTS='-Dorg.gradle.jvmargs="-Xmx2048m -XX:+HeapDumpOnOutOfMemoryError"'
machine:
environment:
GRADLE_OPTS: '-Dorg.gradle.jvmargs="-Xmx2048m -XX:+HeapDumpOnOutOfMemoryError"'
android:
components:
- tools
- platform-tools
- build-tools-28.0.3
- android-28
- extra-android-m2repository
# Uncomment this if you need emulator
# - sys-img-x86-android-23
licenses:
- 'android-sdk-license-.+'
before_install:
- export TERM=dumb
- chmod +x gradlew
# Uncomment this if you need emulator
before_script:
- sh secrets/decrypt-keys.sh
# - echo no | android create avd --force -n test -t android-21 --abi x86
# - emulator -avd test -no-skin -no-audio -no-window &
# - android-wait-for-emulator
# - adb shell input keyevent 82 &
script:
- ./gradlew detekt lintRelease testReleaseUnitTest
branches:
only:
- master
- production
# after_success: uncomment this and add your own deployment targets