-
Notifications
You must be signed in to change notification settings - Fork 169
/
.travis.yml
45 lines (36 loc) · 1.25 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
language: android
jdk:
- oraclejdk8
env:
global:
- secure: "OVfIL3ggaGcDgJJhdWxYTCo3u38SNPNUNPsv6adHp5wW0Y2n1CF1zcAnZXhTkGEjoGvi0RuV8ZLG9jbmQdqxd17qBeBf2XPWKxyG1SUfegDVSy9OPF8BY11Fsp9I5RP1W3T/c32KTc7zvhtAivq9mbcrBYJZhDCKpZkdTNliFQ0="
android:
components:
- tools
- platform-tools
- build-tools-25.0.3
- android-25
- extra-google-m2repository
- extra-android-m2repository
before_install:
- if [ -n "$encrypted_49e3b92debd1_key" ]; then openssl aes-256-cbc -K $encrypted_49e3b92debd1_key -iv $encrypted_49e3b92debd1_iv -in secrets.enc -out secrets -d; fi
- if [ -n "$encrypted_49e3b92debd1_key" ]; then tar xvf secrets >/dev/null; fi
- if [ -z "$encrypted_49e3b92debd1_key" ]; then touch local.properties; fi
after_success:
- if [ -n "$GITHUB_API_KEY" ]; then .buildscript/deploy_alpha.sh; fi
script:
- ./gradlew check assembleDebug assembleDebugAndroidTest -Dorg.gradle.jvmargs="-Xms512m -Xmx512m -XX:+HeapDumpOnOutOfMemoryError" -Dorg.gradle.daemon=false
- .buildscript/firebase_tests.sh
branches:
except:
- gh-pages
cache:
directories:
- $HOME/.m2
- $HOME/.gradle
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/a9870bec6049c7309e68
on_success: change
on_failure: always