diff options
author | Philip Tricca <philip.b.tricca@intel.com> | 2018-07-08 11:36:02 -0700 |
---|---|---|
committer | Tadeusz Struk <tadeusz.struk@intel.com> | 2018-07-10 13:28:33 -0700 |
commit | ea8a16964c5ba6107338e106d5dc592251f24d9d (patch) | |
tree | 82de021c73f11d1be857095c71f7cd8d0e0cc243 /.travis.yml | |
parent | b6416a095513344e3601e060b7a617d8bea4724b (diff) | |
download | tpm2-tss-ea8a16964c5ba6107338e106d5dc592251f24d9d.tar.gz |
ci: Exclude dependencies and tests when collecting code coverage data.
All of these things were infating our coverage numbers.
Signed-off-by: Philip Tricca <philip.b.tricca@intel.com>
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index e1c1ada8..4ba72e4b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -101,5 +101,7 @@ script: - popd - | if [ "$CC" == "gcc" -a -n "$COVERALLS_REPO_TOKEN" ]; then - coveralls --build-root=build --gcov-options '\-lp' + coveralls --build-root=build --exclude=cmocka --exclude=cmocka-1.1.1 \ + --exclude=ibmtpm --exclude=include --exclude=test \ + --gcov-options '\-lp' fi |