forked from apollographql/apollo-kotlin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
57 lines (46 loc) · 2.64 KB
/
.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
language: android
jdk:
- oraclejdk8
android:
components:
- tools
- platform-tools
- build-tools-28.0.3
- android-28
- android-22 # needed for the emulator
- sys-img-armeabi-v7a-android-22 # as of now, travis doesn't support x86 so we stick with armeabi
licenses:
- android-sdk-preview-license-.+
- android-sdk-license-.+
- google-gdk-license-.+
script:
- ./gradlew clean build connectedCheck -x checkstyleTest --stacktrace --max-workers=2 -x apollo-integration:build -x apollo-integration:connectedCheck
- .buildscript/integration_tests_composite.sh
before_script:
- android list target
- echo no | android create avd --force -n test -t android-22 --abi armeabi-v7a
- emulator -avd test -no-audio -no-window &
- android-wait-for-emulator
- adb shell input keyevent 82
after_success:
- .buildscript/deploy_snapshot.sh
env:
global:
- secure: "j6yjcBdSkrQ1FdIIJB9Xv5mZF2HHGDuYsRrAUTA3a22klaYdkgIj2bsmcyDsWutkKqJcsZiV9/MJ/2GhLNoExELk5eWL2a1mq0Fn4CzjVN9JKRYoQbIvbAhvsTFPg+UdMePXSEpG4PgF8HrKzq4HUBuHdNc8P3izaHyqokj/84+YLXFWZ7SBMWS6F5CAAoixfCLQDMCeg4l47qhQBt570ENWz9qME4cRfLBSsYjx/YvCLSva13/vFSrQ2J72VlguYHu7FstYOewd7//Hk5azxhT0KmLzO39MN37o6kpQGz7zNstw56xIJaTNMQ2ClrZhvI3yDpyDP2c/MgPeOeEP6lDdfq08BL1fWjO7njWHKvmieRN7+NsN50o9yNd40fxdgySEKK9B54PVBaUFnYB0GfAVbsGCUNT6zIO42MuN/Slv9471Cr9ZtpBicXYv8kAaKsi0p/dyPDB3X72VQTFnVKna4cZowumxAavJ+ISlewjNs/k+nbB/9J4f0Ax0A60hO51yf41ikjkELdbAAQMeZJHCyuJoGDXz6NKwb+HaVgje1F0jndeKPKG2rTB88mBGAkkS9nSaV5+IeHQnzJRjqjf5ObYkAfsvp8oN1Uz1RHSRHVtkx56gWB24ZZ5gv+SKVZAsCX36JJCzYtIMG150D+2UnA5GrlngJUJvzNRlGnI="
- secure: "WQLS5VDqdCT0f6MzS0mOS5ug+zJPuDcuiZNL5K21DO9UO3dV36eYgo1dLUVPk6ZB2kBMdr2myiHOafsVC1uJSJ3f2O0oXaOQwIHEtwYN2kCjNossPAhhFS3NFQg/F05Fvx2pxR9hggZe3GDWZOMB4r9Eg2EYF/Jozx3LGt7UwWwT2tl8nVGa009yXlVbDP9XuyqqDM+A2Mosj8ih8xPIUMfyzBlcQDOg8BzIBeyZoaCJfeA4kXOGiWYkC27ZMrlOaqPDmAiSiVSihn3lc4kD0p+RINgl05kjzBQ2P3bb2x4QvQMaQqJ8WCRgAGGlRyyIKcnOvfBjSyC15OwdUMYMJMYam8H9L4FaMFMDMWOUjgKvGU7+uNuu5RyjgSeTHlBa4T2F9Dh585QQxCyIKws5XSX06HTrfIb9AoFhKTYEJCBqiyDIMWPZPT9OFRiOaM5PurJUc287rk+8zgZHn9Tq0yr7eAQ+ILuwM/ugPs3jPshiRSStHNkATV0yhvO6LSwGi3LD2gOsqlTtuh9sXFFw2sYtKJVOjH4pdSa0m9LPDiK5WgrqNa46EkJL9Yrm4hU6wW5za8eVPdjW4/4V3w7PuSt3Munulnxpg+SsXqTMabmokX+A0+FkehSrz9LnS4HGsc1nXkXAbERXbRqAJjxbiGhmCRhEKHEcf0JgkmQ4/AA="
- GRADLE_OPTS="-Xmx2048m"
- ADB_INSTALL_TIMEOUT=8 # minutes (2 minutes by default)
notifications:
email: false
branches:
except:
- gh-pages
sudo: false
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
- $HOME/.android/build-cache