aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.travis.yml5
1 files changed, 4 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 0045c5e0b..e713fcef7 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -42,7 +42,7 @@ matrix:
- os: linux
compiler: gcc
dist: trusty
- env: T=normal C="--with-gssapi --with-libssh2"
+ env: T=normal C="--with-gssapi --with-libssh2" CHECKSRC=1
- os: linux
compiler: gcc
dist: trusty
@@ -269,6 +269,9 @@ script:
./configure --enable-warnings --enable-werror $C
make && make examples
make test-nonflaky
+ if [ -n $CHECKSRC ]; then
+ make checksrc
+ fi
fi
- |
set -eo pipefail