1
0
mirror of https://git.code.sf.net/p/linux-ima/ima-evm-utils synced 2025-05-01 08:03:38 +02:00
ima-evm-utils-mirror/.travis.yml
Mimi Zohar f2fe592907 travis: dependency on TSS for initializing software TPM
Verifying the "boot_aggregate" requires reading the TPM PCRs for each of
the TPM banks.  In test environments without a physical TPM, a software
TPM may be used, but requires initializing the TPM PCRs.  By walking and
replaying the TPM event log, a software TPM may be properly initialized.

Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
2020-08-04 13:53:07 -04:00

23 lines
461 B
YAML

language: C
addons:
apt:
packages:
- libkeyutils-dev
- libattr1-dev
- attr
- openssl
- libssl-dev
- asciidoc
- xsltproc
- docbook-xsl
- docbook-xml
install:
- ./tests/install-swtpm.sh
- ./tests/install-tss.sh
script:
- autoreconf -i && ./configure && make -j$(nproc) && sudo make install && VERBOSE=1 make check;
- tail -3 tests/ima_hash.log;
- tail -3 tests/sign_verify.log;
- tail -3 tests/boot_aggregate.log;