-
Notifications
You must be signed in to change notification settings - Fork 321
/
.travis.yml
42 lines (35 loc) · 1.09 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
language: android
sudo: required
before_install:
- ulimit -t 514029
- chmod +x gradlew
- sudo apt-get update -qq
- sudo apt-get install -y libxml2-dev
- mem=($(free -m | head -2 | tail -1)); if [ ${mem[6]} -eq 0 ]; then export BAD_VM=1; fi
script: ./gradlew test
android:
components:
# The BuildTools version used by your project
- build-tools-22.0.1
# Uncomment the lines below if you want to
# use the latest revision of Android SDK Tools
- platform-tools
- tools
# The SDK version used to compile your project
- android-22
# Additional components
- extra-android-support
- extra-google-google_play_services
- extra-google-m2repository
- extra-android-m2repository
- addon-google_apis-google-22
# Specify at least one system image,
# if you need to run emulator(s) during your tests
#- sys-img-armeabi-v7a-android-22
notifications:
email:
recipients: