aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Newsome <tim@sifive.com>2018-08-30 15:29:00 -0700
committerTim Newsome <tim@sifive.com>2018-08-30 15:29:00 -0700
commita81b6d075a0cdda3f49be426c3e52e64c72a425e (patch)
treee847db9d71c7af058708bb54a95736b368d75762
parent53cb54d69a476d3ffcb494be104973d3ba24cb7e (diff)
downloadriscv-openocd-a81b6d075a0cdda3f49be426c3e52e64c72a425e.zip
riscv-openocd-a81b6d075a0cdda3f49be426c3e52e64c72a425e.tar.gz
riscv-openocd-a81b6d075a0cdda3f49be426c3e52e64c72a425e.tar.bz2
Exclude submodules from code style check.
-rw-r--r--.travis.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 88a6b8d..3691a1c 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