.travis.yml: Run valgrind checks via Travis

To improve our coverage, run the testsuite under Valgrind via Travis.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
David Gibson 2018-03-09 13:55:17 +11:00
parent 14a3002a1a
commit 46df1fb1b2

View file

@ -13,6 +13,7 @@ matrix:
packages: packages:
- swig - swig
- python-dev - python-dev
- valgrind
coverity_scan: coverity_scan:
project: project:
name: dtc name: dtc
@ -20,11 +21,14 @@ matrix:
notification_email: david@gibson.dropbear.id.au notification_email: david@gibson.dropbear.id.au
build_command: make build_command: make
branch_pattern: coverity_scan branch_pattern: coverity_scan
script:
- make
- make check && make checkm
# Check it builds properly without the python bits
- addons: - addons:
apt: apt:
packages: packages:
script: script:
- make - make
- make check - make check