Skip to content
Snippets Groups Projects
Unverified Commit bb3501ab authored by kongr45gpen's avatar kongr45gpen
Browse files

Make sure that clang-tidy errors break the build

parent a3fff3f7
No related branches found
No related tags found
No related merge requests found
......@@ -38,7 +38,7 @@ tests:
cppcheck:
stage: build
before_script:
- echo deb http://deb.debian.org/debian testing main > /etc/apt/sources.list
- echo deb http://deb.debian.org/debian testing main > /etc/apt/sources.list
- apt-get update -qq && apt-get -t testing install -y cppcheck
- cppcheck --version
script:
......@@ -48,7 +48,7 @@ cppcheck-misra:
stage: build
before_script:
# install cppcheck from the testing repos in order to get the latest version
- echo deb http://deb.debian.org/debian testing main > /etc/apt/sources.list
- echo deb http://deb.debian.org/debian testing main > /etc/apt/sources.list
- apt-get update -qq && apt-get -t testing install -y cppcheck && apt-get -t testing install -y python3
- cppcheck --version
script:
......@@ -75,4 +75,4 @@ clang-tidy:
- clang-tidy-7 --version
script:
# Running with `script` to give clang a tty so that it outputs colours
- script -c "bash -x ci/clang-tidy.sh"
- script -ec "bash -x ci/clang-tidy.sh"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment