summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2018-07-30 13:40:09 +0200
committerDaniel Stenberg <daniel@haxx.se>2018-07-30 17:56:01 +0200
commitfe60cbfbbfc2aa5a2bd46165a7304e3031041fd0 (patch)
treea78c7b708e1774ef5831eeb6e685676f00dd77db
parent089833147420e1b6018c79d1929a8284b1b8aa8a (diff)
downloadcurl-fe60cbfbbfc2aa5a2bd46165a7304e3031041fd0.tar.gz
travis: run a 'make checksrc' too
... to make sure the examples are all checked. Closes #2811
-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