travis: run a 'make checksrc' too

... to make sure the examples are all checked.

Closes #2811
This commit is contained in:
Daniel Stenberg 2018-07-30 13:40:09 +02:00
parent 0898331474
commit fe60cbfbbf
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2
1 changed files with 4 additions and 1 deletions

View File

@ -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