forked from amanpwl92/Applozic-Android-SDK
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
55 lines (44 loc) · 1.36 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
46
47
48
49
50
51
52
53
54
55
language: android
sudo: false
before_install:
- ulimit -t 514029
- chmod +x gradlew
- chmod +x scripts/travis_upload_release_to_github.py
- mem=($(free -m | head -2 | tail -1)); if [ ${mem[6]} -eq 0 ]; then export BAD_VM=1; fi
android:
components:
# The BuildTools version used by your project
- build-tools-23.0.1
- build-tools-23.0.2
# 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-23
# 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
addons:
apt:
packages:
- python2.7
- libmagic1
before_script:
- export PATH=$HOME/.local/bin:$PATH
- pip install -r ./scripts/requirements.txt --user
script: ./gradlew build --no-daemon
after_success: ./scripts/travis_upload_release_to_github.py
notifications:
email:
recipients: