forked from gdg-x/frisbee
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
39 lines (32 loc) · 1.32 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
language: android
env:
global:
- secure: "SBlXs4v/M3GD1tRaT6zmMXVpMCUaL/oNcSjGWdHgI56DO5NOmTBmDW5kJTT5y0u0U7aE1/Dq22iXPut8NLxWsEi/20xBq3bXQh9ngRkvOstNX7Y0LqnhKBtPixnMIx07xAjUPYCmunJakCT7Hr4fqZAGfUwA4a3ZzRa/KVeNx2A="
- secure: "OVfIL3ggaGcDgJJhdWxYTCo3u38SNPNUNPsv6adHp5wW0Y2n1CF1zcAnZXhTkGEjoGvi0RuV8ZLG9jbmQdqxd17qBeBf2XPWKxyG1SUfegDVSy9OPF8BY11Fsp9I5RP1W3T/c32KTc7zvhtAivq9mbcrBYJZhDCKpZkdTNliFQ0="
- GRADLE_OPTS="-Xms40m -Xmx3g -XX:MaxPermSize=3g"
android:
components:
- platform-tools
- tools
- android-23
- build-tools-23.0.2
- extra-google-m2repository
- extra-android-m2repository
before_install:
# $GPG_PASS is not defined for forks, so just skip it.
- if [ -n "$GPG_PASS" ]; then echo $GPG_PASS | gpg --passphrase-fd 0 local.properties.gpg; fi
- if [ -n "$GPG_PASS" ]; then echo $GPG_PASS | gpg --passphrase-fd 0 settings/service_account.json.gpg; fi
- if [ -n "$GPG_PASS" ]; then echo $GPG_PASS | gpg --passphrase-fd 0 settings/release.keystore.gpg; fi
- if [ -z "$GPG_PASS"]; 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
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/a9870bec6049c7309e68
on_success: change
on_failure: always