From a81b6d075a0cdda3f49be426c3e52e64c72a425e Mon Sep 17 00:00:00 2001 From: Tim Newsome Date: Thu, 30 Aug 2018 15:29:00 -0700 Subject: [PATCH] Exclude submodules from code style check. --- .travis.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 88a6b8de7..3691a1ce6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -55,6 +55,8 @@ script: # 50 changes any case. Most merges won't consist of more than 40 changes, # so this should work fine most of the time, and be a lot better than not # checking at all. - - git diff -U20 HEAD~40 | ./tools/scripts/checkpatch.pl --no-signoff - + - git diff -U20 HEAD~40 | + filterdiff -x "src/jtag/drivers/libjaylink/*" -x "tools/git2cl/*" | + ./tools/scripts/checkpatch.pl --no-signoff - - ./bootstrap && ./configure --enable-remote-bitbang --enable-jtag_vpi $CONFIGURE_ARGS && make - file src/$EXECUTABLE