aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.travis.yml
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2020-08-26 23:18:09 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2020-08-26 23:18:09 +0300
commitc118993ad5b898e8fac96ae8ec583cc0cf8d4a77 (patch)
tree35df6d8ba156535f0f1afbae0dc4233506710da8 /.travis.yml
parentTravis: remove unnecessary .travis/ (diff)
downloadwinapi-debug-c118993ad5b898e8fac96ae8ec583cc0cf8d4a77.tar.gz
winapi-debug-c118993ad5b898e8fac96ae8ec583cc0cf8d4a77.zip
Travis: fix the clang-format job
Diffstat (limited to '')
-rw-r--r--.travis.yml13
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