summaryrefslogtreecommitdiff
path: root/circle.yml
diff options
context:
space:
mode:
authorThiago Marcos P. Santos <tmpsantos@gmail.com>2019-12-11 15:45:47 +0200
committerThiago Marcos P. Santos <tmpsantos@gmail.com>2019-12-11 16:39:03 +0200
commit3b14aef334c47a3548e8545da2c4113248885dd2 (patch)
tree8aa86a63f859b7a52d16ff07b1a6a3a5ab17ac30 /circle.yml
parent9d2de382bfb00d2f2421153ffdd9ae2217237298 (diff)
downloadqtlocation-mapboxgl-3b14aef334c47a3548e8545da2c4113248885dd2.tar.gz
[build] Upload nitpick artifacts
Upload diffs when the sanity bot complains about some wrong formatting of the code or buildsystem.
Diffstat (limited to 'circle.yml')
-rw-r--r--circle.yml10
1 files changed, 6 insertions, 4 deletions
diff --git a/circle.yml b/circle.yml
index f14b4e2488..58ec727908 100644
--- a/circle.yml
+++ b/circle.yml
@@ -297,7 +297,9 @@ commands:
name: Collecting artifacts
when: always
command: |
- mkdir -p /tmp/tests/clang-tidy
+ mkdir -p /tmp/tests/nitpick
+ if [ -f nitpick.patch ]; then cp nitpick.patch /tmp/tests/nitpick; fi
+ mkdir -p /tmp/tests/render
if [ -f clang-tidy.log ]; then cp clang-tidy.log /tmp/tests/clang-tidy; fi
mkdir -p /tmp/tests/render
if ls render-test/*.html 1> /dev/null 2>&1; then cp render-test/*.html /tmp/tests/render; fi
@@ -701,7 +703,7 @@ jobs:
scripts/generate-file-lists.js
scripts/generate-shaders.js
scripts/generate-style-code.js
- git add -A && git diff --staged --exit-code
+ git add -A && git diff --staged --exit-code | tee nitpick.patch
- run:
name: Validation Scripts
command: |
@@ -710,12 +712,12 @@ jobs:
name: CMake Format
command: |
cmake-format -i $(find next -type f -name CMakeLists.txt -o -name '*.cmake')
- git diff --exit-code
+ git diff --exit-code | tee nitpick.patch
- run:
name: Clang Format
command: |
git diff -U0 --ignore-submodules=all --no-color origin/master... *.cpp *.hpp | clang-format-diff-8 -p1 -i
- git diff --exit-code
+ git diff --exit-code | tee nitpick.patch
- run:
name: Clang Tidy
command: |