aboutsummaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2020-06-27 11:43:49 -0400
committerMarcoFalke <falke.marco@gmail.com>2020-06-27 11:49:44 -0400
commitfaca73000fa8975c28f6be8be01957c1ae94ea62 (patch)
treeb3b26602ff14fd83c8a89e05574a195a14168b3a /ci
parentfa4695da4c69646b58a8fa0b6b30146bb234deb8 (diff)
ci: Install fixed version of clang-format for linters
Diffstat (limited to 'ci')
-rwxr-xr-xci/lint/04_install.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/ci/lint/04_install.sh b/ci/lint/04_install.sh
index 80d0df4a78..fae424051d 100755
--- a/ci/lint/04_install.sh
+++ b/ci/lint/04_install.sh
@@ -6,6 +6,10 @@
export LC_ALL=C
+travis_retry sudo apt update && sudo apt install -y clang-format-9
+sudo update-alternatives --install /usr/bin/clang-format clang-format $(which clang-format-9 ) 100
+sudo update-alternatives --install /usr/bin/clang-format-diff clang-format-diff $(which clang-format-diff-9) 100
+
travis_retry pip3 install codespell==1.17.1
travis_retry pip3 install flake8==3.8.3
travis_retry pip3 install yq