diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2020-08-26 23:18:09 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2020-08-26 23:18:09 +0300 |
commit | c118993ad5b898e8fac96ae8ec583cc0cf8d4a77 (patch) | |
tree | 35df6d8ba156535f0f1afbae0dc4233506710da8 | |
parent | Travis: remove unnecessary .travis/ (diff) | |
download | winapi-debug-c118993ad5b898e8fac96ae8ec583cc0cf8d4a77.tar.gz winapi-debug-c118993ad5b898e8fac96ae8ec583cc0cf8d4a77.zip |
Travis: fix the clang-format job
Diffstat (limited to '')
-rw-r--r-- | .travis.yml | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml index b6ae1a1..fc54994 100644 --- a/.travis.yml +++ b/.travis.yml @@ -33,15 +33,20 @@ script: >- jobs: fast_finish: true + # Clear irrelevant matrix build settings: + _clear: &clear + language: shell + addons: {apt: {packages: []}} + before_script: [] + script: [] + include: - - name: Run clang-format + - <<: *clear + name: Run clang-format if: branch = master addons: apt: update: true packages: - clang-format-9 - sources: - - sourceline: 'deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-9 main' - key_url: 'https://apt.llvm.org/llvm-snapshot.gpg.key' script: ./cmake/tools/clang-format.py --clang-format clang-format-9 |