]> granicus.if.org Git - curl/commitdiff
travis: run a 'make checksrc' too
authorDaniel Stenberg <daniel@haxx.se>
Mon, 30 Jul 2018 11:40:09 +0000 (13:40 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 30 Jul 2018 15:56:01 +0000 (17:56 +0200)
... to make sure the examples are all checked.

Closes #2811

.travis.yml

index 0045c5e0b1da67a76850c4c556fba2e08b39d087..e713fcef707f9bec4ed3837c1c9b2d0ad5a5a7ae 100644 (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