]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Travis CI: Set CFLAGS=-Werror with make (autotools build)
authorFrancois-Xavier Le Bail <[email protected]>
Sat, 8 Jun 2019 18:08:23 +0000 (20:08 +0200)
committerFrancois-Xavier Le Bail <[email protected]>
Sat, 8 Jun 2019 20:29:39 +0000 (22:29 +0200)
The cmake build don't use CFLAGS=-Werror.

.travis.yml

index 50870aaeaa3c10ee20574ea7d15da9bdc0ec27db..9bb9ae61b8b9eaf78d5f7a995e76b0606ec0fc1c 100644 (file)
@@ -102,7 +102,7 @@ script:
   - if [ "$CMAKE" = yes ]; then echo travis_fold:start:script.cmake; fi
   - if [ "$CMAKE" = yes ]; then cmake -DCMAKE_PREFIX_PATH=/tmp -DCMAKE_INSTALL_PREFIX=/tmp ..; fi
   - if [ "$CMAKE" = yes ]; then echo -n travis_fold:end:script.cmake; fi
   - if [ "$CMAKE" = yes ]; then echo travis_fold:start:script.cmake; fi
   - if [ "$CMAKE" = yes ]; then cmake -DCMAKE_PREFIX_PATH=/tmp -DCMAKE_INSTALL_PREFIX=/tmp ..; fi
   - if [ "$CMAKE" = yes ]; then echo -n travis_fold:end:script.cmake; fi
-  - make -s
+  - make -s CFLAGS=-Werror
   - echo '$ make install [...]' && echo travis_fold:start:script.make_install
   - PATH=$PATH make install
   - echo -n travis_fold:end:script.make_install
   - echo '$ make install [...]' && echo travis_fold:start:script.make_install
   - PATH=$PATH make install
   - echo -n travis_fold:end:script.make_install