forked from dhis2/dhis2-android-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
50 lines (50 loc) · 1.81 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
language: android
sudo: true
jdk:
- oraclejdk8
android:
components:
- tools
- platform-tools
- build-tools-29.0.3
- android-29
- android-22
- extra-google-google_play_services
- extra-google-m2repository
- extra-android-m2repository
- sys-img-armeabi-v7a-android-22
- extra-android-support
env:
global:
- secure: DFhca9ZcFpfnotvD+wjzZIJz0Fa/vv6fIfcaMOpRXNd/I1Xk5Rslb5q5Xzs/wrWkqaOVXvWPH0Nsm23vxuuuMlKdT1YuiAGZLcSeuwmtM21Q2xlVHLBWg5/T/3lVBIDdaW+XD1XM8TfbaZL8rtsjbbXQoZyiPZIGN2Nj9PmnDxs=
- secure: RAMZy2zxizEnH7Tl0qeBGruJr66kpFvFXh5z/6KX+YhXW1phU9J2BccdttiD/sWU7Y4v2mEnrGWv4iO58L8Icqqe78dsHKUs8af1FTU+pk2T9wntwbCf/L9F8q5FaHsTfUTsM0kH4ROiwsPNGybKBeXracboV3QyBHJFR5f91bw=
# GPG key
- secure: kMeb3dGwIL22+xMEjNKly5J+LTSEXhWwxp4BRQGPzmOgttDU1CCy4+fc7WCmAIkQXeKmnhoUbgymlcQoibmCKhsIMt/xCYxpkLvFGA593jXlA0Aj9NpoDK2tL6z5AxB8AI2SfWbreksb0tSULGLFxVtlaF5byEweweWpEIgCK2k=
# GPG passphrase
- secure: dbu8iizAWBA5uPCO/qNrfi4ITP3wD4VLVBuZDEJl+PGG6Wrb+bHGImp+qWKqJN5MeXTAOPkwtc8JjJaJDrG3CnKgohWKo3ptEPQBlMHtmWTmLTJAGSKDnyE4qjVGoTZFCuWGS5GNX13lTWJyNgQ8DikTDxdIsHIVeVqfwTJ/D4E=
- GPG_KEY_LOCATION=".travis/secret.gpg"
- ENCRYPTED_GPG_KEY_LOCATION=".travis/secret.gpg.enc"
branches:
only:
- master
- develop
- master-dev
- validation-rules
script:
- travis_wait 70 "./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
- adb devices
- adb shell input keyevent 82 &
after_success:
- ".buildscript/deploy.sh"
notifications:
slack:
secure: AkHqcKUwKfSfljvrHXkSaYwjLfLiiqdwRL3zqim9EMIA+AoqW9dhkwoegbeSr44plK82KJsVgo7UrSDLSiJR3UCXtjgkYwwf+hqOM7BVbIK/uTglrjhrDeJ4ZrE/W/FP1O4oeFYE1QZFeAFEb9yLtKBG8rfoQNDl4t83auWuehA=
email: true
cache:
directories:
- "$HOME/.m2"
- "$HOME/.gradle"