aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorTim Newsome <tim@sifive.com>2018-04-18 16:19:18 -0700
committerTim Newsome <tim@sifive.com>2018-04-20 14:47:27 -0700
commitdc8c5eeac9952565fd7133c900229dceb576c29c (patch)
treef2b87fbf2ff6a168f0cd711d773f645ee2206f2c /.travis.yml
parentba2174249daf80775c7759ab04c7a2d7c9f01378 (diff)
downloadriscv-openocd-dc8c5eeac9952565fd7133c900229dceb576c29c.zip
riscv-openocd-dc8c5eeac9952565fd7133c900229dceb576c29c.tar.gz
riscv-openocd-dc8c5eeac9952565fd7133c900229dceb576c29c.tar.bz2
Re-enable style check.
Tell git to give us 20 lines of context, which hopefully is enough to deal with some spurious warnings. Change-Id: I97cb572f7b89ff305f46290d20ed0b4674af1f5b
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index f110fe1..88a6b8d 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -55,6 +55,6 @@ 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 HEAD~40 | ./tools/scripts/checkpatch.pl --no-signoff -
+ - git diff -U20 HEAD~40 | ./tools/scripts/checkpatch.pl --no-signoff -
- ./bootstrap && ./configure --enable-remote-bitbang --enable-jtag_vpi $CONFIGURE_ARGS && make
- file src/$EXECUTABLE