mirror of
https://github.com/stefanberger/libtpms
synced 2025-12-31 11:12:04 +00:00
travis: Run cpp-coveralls without sudo
Change file and directory ownerships so that we can run cpp-coveralls without sudo. Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
This commit is contained in:
parent
7620f55ac1
commit
65769f9d3c
@ -51,7 +51,9 @@ matrix:
|
||||
sudo make -j$(nproc) check &&
|
||||
popd
|
||||
after_success:
|
||||
sudo cpp-coveralls -b src -e tests -e swtpm --gcov-options '\-lp'
|
||||
uidgid="$(id -nu):$(id -ng)" &&
|
||||
sudo chown -R ${uidgid} ./ &&
|
||||
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"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user