forked from openmrs/openmrs-contrib-android-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
29 lines (25 loc) · 776 Bytes
/
.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
sudo: required
language: android
jdk: oraclejdk8
dist: trusty
before_install:
- yes | sdkmanager "platform-tools" "tools" "platforms;android-27"
"extras;android;m2repository"
- chmod +x load_files.sh
- chmod +x build.sh
- ./load_files.sh
script:
- ./build.sh
- ./gradlew jacocoTestReport
after_success:
- bash <(curl -s https://codecov.io/bash)
deploy:
provider: releases
skip_cleanup: true
overwrite: true
api_key:
secure: CkKyomzGdEMvZKyNEPU6uU9sfG4zJKQ7FcDG7Vgi9SNFgrwD7v2wYrw53ABRW+eYTifxivbzSnNYOwh/Jd6ea3A7XqFdW9DpPgmDq32A9rPPSP8DEM2tDfE6m0A/Jzx2d3rIpK54KCISHQoRnnEU8QyBA9vqoTmO1qUWsBsXiWo=
file: openmrs-client/build/outputs/apk/release/openmrs-client-release.apk
on:
tags: true
repo: openmrs/openmrs-contrib-android-client