forked from the-blue-alliance/the-blue-alliance-android
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
42 lines (40 loc) · 851 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
language: android
jdk: oraclejdk8
sudo: false
addons:
apt:
packages:
- html2text
android:
components:
- platform-tools
- tools
- build-tools-25.0.2
- android-24
- android-23
- extra-android-m2repository
- extra-google-m2repository
- extra-google-google_play_services
- sys-img-armeabi-v7a-google_apis-23
env:
matrix:
- JOB=UNIT
- JOB=COVERAGE
- JOB=CHECKSTYLE
- JOB=PROD-BUILD
global:
- GRADLE_OPTS="-Xmx512m -Xms128m -Xss1m"
- MALLOC_ARENA_MAX=1
before_script:
- ./scripts/travis/travis-before.sh $JOB
script:
- ./scripts/travis/travis-worker.sh $JOB
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
cache:
directories:
- "$HOME/.gradle/caches/"
- "$HOME/.gradle/wrapper/"
notifications:
slack: the-blue-alliance:m2F6L0FT1ORBmSzKdLvAEmm1
email: false