summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkevin <kevin.li@mapbox.com>2019-07-03 15:10:35 +0800
committerkevin <kevin.li@mapbox.com>2019-07-03 15:10:35 +0800
commitef207b19c868e61e51fb72f6ff05e4a48a23ad26 (patch)
tree10a941ed7bbfc2d97dbae2e0b914e171a2b0b680
parent12e0a6b0c67bc2356dbe83d7ab19efdd9a3dc2ea (diff)
downloadqtlocation-mapboxgl-ef207b19c868e61e51fb72f6ff05e4a48a23ad26.tar.gz
Add command to run app center in Makefile
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index aefd0b0458..98c6e81e3c 100644
--- a/Makefile
+++ b/Makefile
@@ -771,6 +771,11 @@ apackage: platform/android/gradle/configuration.gradle
android-ui-test: platform/android/gradle/configuration.gradle
cd platform/android && $(MBGL_ANDROID_GRADLE) -Pmapbox.abis=all :MapboxGLAndroidSDKTestApp:assembleDebug :MapboxGLAndroidSDKTestApp:assembleAndroidTest
+#Run instrumentations tests on MicroSoft App Center
+.PHONY: android-test-app-center
+android-test-app-center:
+ cd platform/android && appcenter test run espresso --app "mapboxcn-outlook.com/MapsSdk" --devices "mapboxcn-outlook.com/china" --app-path MapboxGLAndroidSDKTestApp/build/outputs/apk/debug/MapboxGLAndroidSDKTestApp-debug.apk --test-series "master" --locale "en_US" --build-dir MapboxGLAndroidSDKTestApp/build/outputs/apk/androidTest/debug
+
# Uploads the compiled Android SDK to Bintray
.PHONY: run-android-upload-to-bintray
run-android-upload-to-bintray: platform/android/gradle/configuration.gradle