Unverified Commit fe60cbfb authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

travis: run a 'make checksrc' too

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

Closes #2811
parent 08983314
Loading
Loading
Loading
Loading
+4 −1
Original line number Original line Diff line number Diff line
@@ -42,7 +42,7 @@ matrix:
        - os: linux
        - os: linux
          compiler: gcc
          compiler: gcc
          dist: trusty
          dist: trusty
          env: T=normal C="--with-gssapi --with-libssh2"
          env: T=normal C="--with-gssapi --with-libssh2" CHECKSRC=1
        - os: linux
        - os: linux
          compiler: gcc
          compiler: gcc
          dist: trusty
          dist: trusty
@@ -269,6 +269,9 @@ script:
             ./configure --enable-warnings --enable-werror $C
             ./configure --enable-warnings --enable-werror $C
             make && make examples
             make && make examples
             make test-nonflaky
             make test-nonflaky
             if [ -n $CHECKSRC ]; then
                make checksrc
             fi
        fi
        fi
    - |
    - |
        set -eo pipefail
        set -eo pipefail