From fe60cbfbbfc2aa5a2bd46165a7304e3031041fd0 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 30 Jul 2018 13:40:09 +0200 Subject: travis: run a 'make checksrc' too ... to make sure the examples are all checked. Closes #2811 --- .travis.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to '.travis.yml') 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 -- cgit v1.2.3