diff options
Diffstat (limited to 'platform/android/bitrise.yml')
-rw-r--r-- | platform/android/bitrise.yml | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/platform/android/bitrise.yml b/platform/android/bitrise.yml index aadcba79be..0470bccd02 100644 --- a/platform/android/bitrise.yml +++ b/platform/android/bitrise.yml @@ -14,22 +14,7 @@ workflows: primary: steps: - script: - title: Check for skipping CI - inputs: - - content: |- - #!/bin/bash - - if [[ -n "$(echo $GIT_CLONE_COMMIT_MESSAGE_SUBJECT | sed -n '/\[skip ci\]/p')" || - -n "$(echo $GIT_CLONE_COMMIT_MESSAGE_SUBJECT | sed -n '/\[ci skip\]/p')" || - -n "$(echo $GIT_CLONE_COMMIT_MESSAGE_BODY | sed -n 's/\[skip ci\]/p')" || - -n "$(echo $GIT_CLONE_COMMIT_MESSAGE_BODY | sed -n 's/\[ci skip\]/p')" ]]; then - envman add --key SKIPCI --value true - else - envman add --key SKIPCI --value false - fi - - script: title: Run Checkstyle - run_if: '{{enveq "SKIPCI" "false"}}' inputs: - content: |- #!/bin/bash @@ -37,7 +22,6 @@ workflows: cd platform/android && ./gradlew checkstyle - script: title: Configure Google Cloud SDK - run_if: '{{enveq "SKIPCI" "false"}}' inputs: - content: |- #!/bin/bash @@ -58,7 +42,6 @@ workflows: wget -O secret.json "$BITRISEIO_GCLOUD_SERVICE_ACCOUNT_JSON_URL" - script: title: Build libmapbox-gl.so for armeabi-v7a - run_if: '{{enveq "SKIPCI" "false"}}' inputs: - content: |- #!/bin/bash @@ -67,7 +50,6 @@ workflows: make android-lib-arm-v7 - script: title: Compile Core tests - run_if: '{{enveq "SKIPCI" "false"}}' inputs: - content: |- #!/bin/bash @@ -75,7 +57,6 @@ workflows: BUILDTYPE=Debug make android-test-lib-arm-v7 - script: title: Run local JVM Unit tests on phone module - run_if: '{{enveq "SKIPCI" "false"}}' inputs: - content: |- #!/bin/bash @@ -83,7 +64,6 @@ workflows: make run-android-unit-test - script: title: Run local JVM Unit tests on wear module - run_if: '{{enveq "SKIPCI" "false"}}' inputs: - content: |- #!/bin/bash @@ -91,7 +71,6 @@ workflows: make run-android-wear-unit-test - script: title: Generate Espresso sanity tests - run_if: '{{enveq "SKIPCI" "false"}}' inputs: - content: |- #!/bin/bash @@ -99,7 +78,6 @@ workflows: make test-code-android - script: title: Run Firebase instrumentation tests - run_if: '{{enveq "SKIPCI" "false"}}' inputs: - content: |- #!/bin/bash @@ -115,7 +93,6 @@ workflows: gcloud beta test android run --type instrumentation --app platform/android/MapboxGLAndroidSDKTestApp/build/outputs/apk/MapboxGLAndroidSDKTestApp-debug.apk --test platform/android/MapboxGLAndroidSDKTestApp/build/outputs/apk/MapboxGLAndroidSDKTestApp-debug-androidTest.apk --device-ids shamu --os-version-ids 22 --locales en --orientations portrait --timeout 15m --test-targets "class com.mapbox.mapboxsdk.testapp.maps.widgets.AttributionTest" - script: title: Download Firebase results - run_if: '{{enveq "SKIPCI" "false"}}' is_always_run: true inputs: - content: |- @@ -131,13 +108,11 @@ workflows: find platform/android/MapboxGLAndroidSDKTestApp/build/outputs/apk -type f -name "logcat" -print0 | xargs -0 -Imylogcat mv -i mylogcat ./ cat logcat | ndk-stack -sym build/android-arm-v7/Debug - deploy-to-bitrise-io: - run_if: '{{enveq "SKIPCI" "false"}}' inputs: - deploy_path: platform/android/MapboxGLAndroidSDKTestApp/build/outputs/apk - is_compress: 'true' - notify_user_groups: none - slack: - run_if: '{{enveq "SKIPCI" "false"}}' title: Post to Slack inputs: - webhook_url: "$SLACK_HOOK_URL" |