summaryrefslogtreecommitdiff
path: root/.travis/cppcheck/after_failure.sh
diff options
context:
space:
mode:
Diffstat (limited to '.travis/cppcheck/after_failure.sh')
-rw-r--r--.travis/cppcheck/after_failure.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/.travis/cppcheck/after_failure.sh b/.travis/cppcheck/after_failure.sh
new file mode 100644
index 0000000..c4196f5
--- /dev/null
+++ b/.travis/cppcheck/after_failure.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+docker exec $CONTAINER su - user sh -c "cd $BUILDDIR && cat cppcheck.log"