aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorPhilip Tricca <philip.b.tricca@intel.com>2017-08-16 14:32:55 -0700
committerPhilip Tricca <philip.b.tricca@intel.com>2017-08-16 15:54:14 -0700
commit1a94dd8f7395b69df80e047efa086b03b2dfda7d (patch)
tree0795d7be4c4b5205a8a02dbc482b655264e29e1b /.travis.yml
parent1759c4b2c9872955f8cfda516595e660d2a51a7a (diff)
downloadtpm2-tss-1a94dd8f7395b69df80e047efa086b03b2dfda7d.tar.gz
build: Fix 'dist' and 'distcheck' target.
There are a few small changes here but all are required to get proper release tarballs made by dist / distcheck. The project name in configure.ac needed to be updated to account for the project name change from TPM2.0-TSS to tpm2-tss. Also the options passed to the configure script need to be propagated to the distcheck target. This is accomplished by setting the DISTCHECK_CONFIGURE_FLAGS when the configure script generates the Makefile. In Makefile.am we add all of the log files generated by the test harness to CLEAN_FILES to ensure they don't end up in the distribution tarball. We also add the integration test log compilation script to EXTRA_DIST to ensure it makes it into the distribution. Finally we add the log.h file to marshal_libmarshal_la_SOURCES as it won't make it into the release tarball otherwise. Finally we add explicit execution of the distcheck target to the .travis.yml file to ensure future breakage is detected early. Signed-off-by: Philip Tricca <philip.b.tricca@intel.com>
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index f16cedaa..ca617c8b 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -54,7 +54,7 @@ script:
- mkdir ./build
- pushd ./build
- ../configure --enable-unit --with-simulatorbin=$(pwd)/../ibmtpm532/src/tpm_server
- - make -j$(nproc)
+ - make -j$(nproc) distcheck
- make -j$(nproc) check
- |
for LOG in $(ls -1 test/unit/*.log); do