diff --git a/.appveyor.yml b/.appveyor.yml index 186a9e6..2b84678 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -28,7 +28,6 @@ init: - set TAG_NAME=%APPVEYOR_REPO_TAG_NAME% build_script: - - "C:\Program Files\LLVM\bin\clang-format.exe" --version - python ./build_scripts/run-clang-format.py ./src -r --clang-format-executable "C:\Program Files\LLVM\bin\clang-format.exe" --color always - call "build_windows.cmd" diff --git a/.travis.yml b/.travis.yml index 906fc29..eccef5d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -44,7 +44,12 @@ before_install: - chmod +x ./build_scripts/linux/format.sh - chmod +x ./build_scripts/linux/run-clang-tidy.sh - chmod +x ./build_scripts/linux/verify_formatting.sh - - python ./build_scripts/run-clang-format.py ./src -r --color always + - wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add - + - sudo add-apt-repository 'deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-8 main' + - sudo apt update -qq + - sudo apt install clang-format-8 + - clang-format-8 --version + - python ./build_scripts/run-clang-format.py ./src -r --color always --clang-format-executable clang-format-8 install: - sudo add-apt-repository ppa:kubuntu-ppa/backports -y