diff options
author | Tobrun <tobrun.van.nuland@gmail.com> | 2016-08-18 16:23:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-18 16:23:34 +0200 |
commit | d1c8dd503868ee95d4ff0205bc3e9cdc164e2fde (patch) | |
tree | 4ffc29c091e2e04f4ccf6f9d1e4523b4a5a55d05 /platform/android/bitrise.yml | |
parent | a2029413605c5923a02c3f18b52b4d6b55fb3194 (diff) | |
download | qtlocation-mapboxgl-d1c8dd503868ee95d4ff0205bc3e9cdc164e2fde.tar.gz |
[android] #5211 - update yaml to run on device lab, update test with NoSuchSource exception (#6073)
Diffstat (limited to 'platform/android/bitrise.yml')
-rw-r--r-- | platform/android/bitrise.yml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/platform/android/bitrise.yml b/platform/android/bitrise.yml index 249e13d6dd..f96c13d0b4 100644 --- a/platform/android/bitrise.yml +++ b/platform/android/bitrise.yml @@ -37,6 +37,18 @@ workflows: export BUILDTYPE=Release make android make android-test + make android-generate-test + wget -O platform/android/MapboxGLAndroidSDKTestApp/src/main/res/values/developer-config.xml "$BITRISEIO_TEST_ACCESS_TOKEN_UI_TEST_URL" + make android-test-apk + cd platform/android/MapboxGLAndroidSDKTestApp/build/outputs/apk + wget -O secret.json "$BITRISEIO_GCLOUD_SERVICE_ACCOUNT_JSON_URL" + export CLOUD_SDK_REPO="cloud-sdk-$(lsb_release -c -s)" + echo "deb http://packages.cloud.google.com/apt $CLOUD_SDK_REPO main" | sudo tee /etc/apt/sources.list.d/google-cloud-sdk.list + curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add - + sudo apt-get update && sudo apt-get install google-cloud-sdk + gcloud auth activate-service-account --key-file secret.json --project android-gl-native + gcloud beta test android devices list + gcloud beta test android run --type instrumentation --app MapboxGLAndroidSDKTestApp-debug.apk --test MapboxGLAndroidSDKTestApp-debug-androidTest-unaligned.apk --device-ids shamu --os-version-ids 22 --locales en --orientations portrait --timeout 10m - slack: title: Post to Slack run_if: '{{enveq "SKIPCI" "false"}}' |