From 64e9784d79e2d68a5dd37c4dc000be55dd419d21 Mon Sep 17 00:00:00 2001 From: Kevin Li Date: Fri, 5 Jul 2019 09:20:26 +0800 Subject: [android] Add command to run app center in Makefile (#15056) * Add command to run app center in Makefile * rename command --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index 2e5e8f623b..5a127471c9 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: run-android-test-app-center +run-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 -- cgit v1.2.1