forked from TheSoftwareFactory/lokki-android
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
44 lines (36 loc) · 1.16 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
env: TARGET="android-21" NAME="android-21"
# To use Travis Container-Based Infrastructure
sudo: false
# You might need to reset it: travic cache --delete
cache:
directories:
- $HOME/.android/avd/
- $HOME/.gradle/caches/
android:
components:
- platform-tools
- tools
- build-tools-21.1.2
- android-21
- extra-google-google_play_services
- extra-android-m2repository
- sys-img-armeabi-v7a-android-21
before_script:
- ./avd-test.sh
script: ./gradlew build connectedCheck
deploy:
provider: releases
api_key:
secure: Si6dy+ETFBwsbbjMOd9WI8ho0TMDnL46/vhKxLc5Rlvh75UUZH/ThEht/eRhZBP4IgEyg1oeR/8NOL8Lg70aA/cnv0c1+3u050MrUgDIMbbVwgo/l1v7CXfHvRYmicwcn5l9+qhcVaS3Lp7rftfeEvUgXLwwPS0kRxHZuINIYw8=
file_glob: true
file: ${HOME}/build/${TRAVIS_REPO_SLUG}/App/build/outputs/apk/lokki-v*-debug.apk
skip_cleanup: true
on:
tags: true
all_branches: true
repo: TheSoftwareFactory/lokki-android
notifications:
slack:
secure: eV5cEvPOZnp8ZK20CEI+0jt9VUxbtWpJJiSmo17C8TgL4MO5j0rjIBiDOMJhVExMEHxF9AZBCvXNEm1sozNv2VEt755QSPwqA6DTRswKmVQ1LWCOko4UWi3RF8rfSKPTPxAe5JM7Scm6SJQ8aQSIeXD6R8kw4nH6DbzuL/icqv0=
email: false