summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Li <kevin.li@mapbox.com>2019-07-05 09:20:26 +0800
committerGitHub <noreply@github.com>2019-07-05 09:20:26 +0800
commit64e9784d79e2d68a5dd37c4dc000be55dd419d21 (patch)
tree703c76b5423f75c4231bf3bb2438fd5b6a916db1
parentda3b7749b05af842797e83d3b3815ae3d8ab79bf (diff)
downloadqtlocation-mapboxgl-upstream/je-node-v4.2.0-release.tar.gz
[android] Add command to run app center in Makefile (#15056)upstream/je-node-v4.2.0-release
* Add command to run app center in Makefile * rename command
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
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