forked from dhis2/dhis2-android-sdk
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.travis.yml
43 lines (43 loc) · 1.8 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
language: android
sudo: false
jdk:
- oraclejdk8
android:
components:
- tools
- platform-tools
- build-tools-25.0.2
- android-25
- android-22
- extra-android-m2repository
- extra-google-google_play_services
- extra-google-m2repository
- extra-android-m2repository
- sys-img-armeabi-v7a-android-22
env:
global:
- secure: XVjRNpEzXe1TuT6v1FklkNr6f50jbA4qS51Cg9vCE5u5WEbFTuKPkoFhyRv3clTpLm2QS+kF/Iah0P9GjCvYI4VOcfe+zp+p3LCc4vZjFtdfFJfdZ1+P9IiSB4rUnvnHdxzHg3QEAxAO/zMEzUFAkCc6OyZruEcuid1q8vHu6r4=
- secure: XXl6Te0fn10PTM/myO3kwI5j1drZqTNWhlANxzQ94hmz26Bc9xPDc/EVCA4ijKiro9S1grFuBoVU/5bGa8NLBK05W2YdisMcnL+KobZqtYK7nKtRVg2aNAkl60NwO9DOzgmG77BQccDZEnd7fwdxwX7/rujQ/uYutCQG9dp3alI=
branches:
only:
- master
- develop
script:
- travis_wait 30 "./build.sh"
before_script:
- echo no | android create avd --force -n test -t android-22 --abi armeabi-v7a
- emulator -avd test -no-audio -no-window &
- android-wait-for-emulator
- sleep 180
- adb devices
- adb shell input keyevent 82 &
#after_success:
#- ".buildscript/deploy.sh"
notifications:
slack:
secure: TT41Hj5/zVuVU4dIXzx+QpUUWm6dZT8M3Z9evZz5Ar30tn9afSiCl0NKPu5ZL9HTaxifTP2A7Sos89fVDOdxaQLBKwKM8ZY6eIwSooQUciKpQOGYRYk2nRZkJbqh4eGXARZ5+BjjFKFVvEJ0Gc3FCdlRwNsTBomUQZ1pykruECuQB9WQTX13U2N6DKx8dA1xR0froZU3EtvLh0LZzU35sXysfvtfUQZ+V2OnErvOjmHiBhrVzUNGTanaYZNt0zVxK2toROaYGIsj8KQpSRe90bgdhSrQ69ladwDwORKNgmmuQqbq7L3TsZq0HVg8HPhdcG5FTrQomPfgpgwYMwacaUGdDk6EPow6KBOZZR0niYFLWUEq5InWISgBRcIuH4IcQGzko+sXS/yD2r9qbuTOYTqq8qniWOovEYYMhPbOAIM2YWRTSChDUetny7cqMT/0awq4BMgnl9t97AUG6tiTbIWWGbF8TR5mheyoBYtk3X9PVAlqaHA9EFcgL4xf8g0zUhJbQ/3y6RVerSNeyWvZUMamCUhw2XVq6ep1+efrsXBKO4O+Gjhvv4USasZeFfI+TQgcefBGH3PYg9u4uIVh0nEh4QsxwaqYscJlVy1fA4QOO2XAR8SNQVp41r2OqeTMheaFCGrIF+pct08Ll1GqU7eZaptTK87D7bguCf9XH/Q=
email: true
cache:
directories:
- "$HOME/.m2"
- "$HOME/.gradle"