forked from gdg-x/frisbee
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
44 lines (35 loc) · 1.13 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
language: android
jdk:
- oraclejdk8
env:
global:
- secure: "OVfIL3ggaGcDgJJhdWxYTCo3u38SNPNUNPsv6adHp5wW0Y2n1CF1zcAnZXhTkGEjoGvi0RuV8ZLG9jbmQdqxd17qBeBf2XPWKxyG1SUfegDVSy9OPF8BY11Fsp9I5RP1W3T/c32KTc7zvhtAivq9mbcrBYJZhDCKpZkdTNliFQ0="
- GRADLE_OPTS="-Xms40m -Xmx3g -XX:MaxPermSize=3g"
android:
components:
- tools
- platform-tools
- build-tools-24.0.3
- android-24
- 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"
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