Skip to content

Commit

Permalink
Travis is up and is clang-format has to be updated.
Browse files Browse the repository at this point in the history
  • Loading branch information
slav-at-attachix committed Apr 16, 2021
1 parent a465ba1 commit e7d5de6
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
addons:
apt:
packages:
- clang-format-6.0
- clang-format-8
- gcc-multilib
- g++-multilib
- doxygen
Expand Down
11 changes: 10 additions & 1 deletion Sming/Arch/Host/Tools/travis/install.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,16 @@
#!/bin/bash
set -ex # exit with nonzero exit code if anything fails

sudo update-alternatives --install /usr/bin/clang-format clang-format /usr/bin/clang-format-6.0 100
sudo update-alternatives --install /usr/bin/clang-format clang-format /usr/bin/clang-format-8 200


sudo update-alternatives --query clang-format

clang-format --version
whereis clang-format
export CLANG_FORMAT=/usr/bin/clang-format
$CLANG_FORMAT --version

python3 -m pip install -q --upgrade pip

if [ "$BUILD_DOCS" == "1" ]; then
Expand Down

0 comments on commit e7d5de6

Please sign in to comment.