]> git.proxmox.com Git - libtpms.git/commitdiff
travis: Use cpp-coveralls with the -b option for proper path creation
authorStefan Berger <stefanb@linux.vnet.ibm.com>
Fri, 29 Mar 2019 19:02:38 +0000 (15:02 -0400)
committerStefan Berger <stefanb@us.ibm.com>
Fri, 29 Mar 2019 20:04:15 +0000 (16:04 -0400)
Add the option -b ./src for proper path creation. Exclude the test
dir to avoid malformed path creation. Also exclude the swtpm dir
since nothing interesting is to be found there.

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
.travis.yml

index e829e1adefe66d634260b590473431709ac76656..8d42451183df74735ffcb8ee593936395e92e689 100644 (file)
@@ -51,11 +51,7 @@ matrix:
          sudo make -j$(nproc) check &&
         popd
       after_success:
-        # coveralls creates some odd paths
-        sudo cpp-coveralls --gcov-options '\-lp'
-          -e src/tpm12/tpm12
-          -e src/tpm2/tpm2
-          -e src/tpm2/crypto/openssl/tpm2/
+        sudo cpp-coveralls -b src -e tests -e swtpm --gcov-options '\-lp'
     - env: CONFIG="--with-openssl --prefix=/usr --with-tpm2" "TARGET=check"
            NPROC="sysctl -n hw.ncpu" CFLAGS="-I/usr/local/opt/openssl/include"
            LDFLAGS="-L/usr/local/opt/openssl/lib"