]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Travis-CI: Update autotools builds with or without crypto
authorFrancois-Xavier Le Bail <[email protected]>
Fri, 6 Jul 2018 09:21:04 +0000 (11:21 +0200)
committerFrancois-Xavier Le Bail <[email protected]>
Fri, 6 Jul 2018 09:45:07 +0000 (11:45 +0200)
Moreover:
Show tcpdump version in the build log.

.travis.yml

index 3ff7e3370289b27710300c24f9fea28f7144ac1f..ee07cd70260ac1968a9a9002b06b0a7485e5ddb2 100644 (file)
@@ -21,6 +21,9 @@ env:
     # Coverity script test mode (if true no uploading, avoid reaching the quota)
     # usual processing: false.
     - coverity_scan_script_test_mode=false
+  matrix:
+    - CRYPTO=no
+    - CRYPTO=yes
 
 addons:
   coverity_scan:
@@ -67,7 +70,7 @@ before_script:
 script:
   - if [ "$COVERITY_SCAN_BRANCH" != 1 ]; then touch .devel configure; fi
   - if [ "$COVERITY_SCAN_BRANCH" != 1 ]; then echo '$ ./configure [...]' && echo -n travis_fold:start:script.configure; fi
-  - if [ "$COVERITY_SCAN_BRANCH" != 1 ]; then ./configure --prefix=/tmp; fi
+  - if [ "$COVERITY_SCAN_BRANCH" != 1 ]; then ./configure --with-crypto=${CRYPTO} CPPFLAGS="-I/usr/local/Cellar/openssl/1.0.2l/include/" --prefix=/tmp; fi
   - if [ "$COVERITY_SCAN_BRANCH" != 1 ]; then echo -n travis_fold:end:script.configure; fi
   - if [ "$COVERITY_SCAN_BRANCH" != 1 ]; then make -s; fi
   - if [ "$COVERITY_SCAN_BRANCH" != 1 ]; then echo '$ make install [...]' && echo -n travis_fold:start:script.make_install; fi
@@ -76,3 +79,4 @@ script:
   - if [ "$COVERITY_SCAN_BRANCH" != 1 ]; then make check; fi
   - if [ "$COVERITY_SCAN_BRANCH" != 1 ]; then ./tcpdump -D; fi
   - if [ "$COVERITY_SCAN_BRANCH" != 1 ]; then ./tcpdump -J; fi
+  - if [ "$COVERITY_SCAN_BRANCH" != 1 ]; then ./tcpdump --version; fi