From: Daniel Stenberg Date: Mon, 30 Jul 2018 11:40:09 +0000 (+0200) Subject: travis: run a 'make checksrc' too X-Git-Tag: curl-7_61_1~109 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fe60cbfbbfc2aa5a2bd46165a7304e3031041fd0;p=thirdparty%2Fcurl.git travis: run a 'make checksrc' too ... to make sure the examples are all checked. Closes #2811 --- diff --git a/.travis.yml b/.travis.yml index 0045c5e0b1..e713fcef70 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