travis: Allow CI config to make check-valgrind
authorNicolas Williams <nico@twosigma.com>
Fri, 24 Apr 2020 01:54:50 +0000 (20:54 -0500)
committerNicolas Williams <nico@twosigma.com>
Fri, 24 Apr 2020 21:02:35 +0000 (16:02 -0500)
Setting MAKE_CHECK_SUFFIX=-valgrind in the environment will cause Travis
to make check-valgrind.

.travis.yml

index 0db7432b2847f0cf1a6bf378add484ee730cb346..ad906d7f8413c998187f4059ebf290421b26cd53 100644 (file)
@@ -47,7 +47,7 @@ install:
     - ulimit -c unlimited; make -j3
 
 script:
-    - if [ x${COVERITY_SCAN_BRANCH} != x1 ]; then ulimit -c unlimited; make check; fi
+    - if [ x${COVERITY_SCAN_BRANCH} != x1 ]; then ulimit -c unlimited; make check${MAKE_CHECK_SUFFIX}; fi
 
 after_script:
     - if [ -n "$COVERAGE" ]; then ../tools/coveralls-tool -O $PWD -S ..; fi