forked from openmrs/openmrs-contrib-android-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
25 lines (19 loc) · 796 Bytes
/
appveyor.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
environment:
ANDROID_HOME: "C:\\android-sdk-windows"
JAVA_HOME: "C:\\Program Files\\Java\\jdk1.8.0"
clone_folder: "C:\\projects\\openmrs-contrib-android-client"
init:
- cd \
- mkdir android-sdk-windows
- appveyor DownloadFile https://dl.google.com/android/repository/sdk-tools-windows-4333796.zip
- 7z x sdk-tools-windows-4333796.zip -oc:\android-sdk-windows
- cd C:\projects\openmrs-contrib-android-client
install:
- yes | "%ANDROID_HOME%\tools\bin\sdkmanager.bat" "platform-tools" "platforms;android-27" "extras;android;m2repository" "extras;google;m2repository"
build_script:
- gradlew.bat clean assembleDebug lint -Dscan --configure-on-demand --parallel --stacktrace
artifacts:
- path: "build\\reports\\"
cache:
- "%USERPROFILE%\\.m2"
- "%USERPROFILE%\\.gradle"