summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com>2019-11-12 15:43:18 +0200
committerMikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com>2019-11-13 10:57:07 +0200
commit089ff8e2b34583de6c989c05a0771b108b3c82f0 (patch)
treea967a81533d5d74a853c299384b64c09bf14c256
parentf12567ef8cc6357bd01e1389ddf8c92393f62b95 (diff)
downloadqtlocation-mapboxgl-089ff8e2b34583de6c989c05a0771b108b3c82f0.tar.gz
No firebase skip for commits touching paths other than darwin-specific
-rw-r--r--circle.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/circle.yml b/circle.yml
index ad4dc8bfd0..c3387aedd2 100644
--- a/circle.yml
+++ b/circle.yml
@@ -516,9 +516,9 @@ commands:
- run:
name: Check if Firebase should be skipped
command: |
- SKIPPABLE_TAG=$( git log -1 | grep -ioE -e "\[(skip.firebase|firebase.skip)\]" -e "\[((i|mac)os)+(, (i|mac)os)?\]" -e "\[darwin\]" || true )
- if [ -n "${SKIPPABLE_TAG}" ]; then
- echo "Skipping Firebase tests because commit message contained: '${SKIPPABLE_TAG}'"
+ FIREBASE_TAG=$( git diff origin/$CIRCLE_TARGET_BRANCH... --stat | grep -ivE -e"ios|macos|darwin" || true )
+ if [ -z "${FIREBASE_TAG}" ]; then
+ echo "Skipping Firebase tests because commits changed only Darwin-specific paths."
echo 'export SKIP_FIREBASE=1' >> $BASH_ENV
fi
login-google-cloud-platform: