From: Stefan Berger Date: Sun, 18 Nov 2018 23:41:09 +0000 (-0500) Subject: travis: Use $(nproc) and reformat the yaml a bit X-Git-Tag: v0.7.0-rc1~553 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=cc582b7abd5671ba1540bd7fa19aa48f5e5350cf;p=swtpm.git travis: Use $(nproc) and reformat the yaml a bit Signed-off-by: Stefan Berger --- diff --git a/.travis.yml b/.travis.yml index d306162..d67403c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -38,16 +38,16 @@ addons: build_command: make -j4 branch_pattern: coverity_scan before_script: -- pep8 $(find . -type f | grep -E "\.py$") -- git clone https://github.com/stefanberger/libtpms -- cd libtpms -- "./bootstrap.sh && ./configure --with-openssl --prefix=/usr --with-tpm2 && make -j4 && - sudo make install" -- cd .. -- sudo pip install cpp-coveralls -- ./autogen.sh ${CONFIG} + - pep8 $(find . -type f | grep -E "\.py$") + - git clone https://github.com/stefanberger/libtpms + - cd libtpms + - "./bootstrap.sh && ./configure --with-openssl --prefix=/usr --with-tpm2 && make -j$(nproc) && + sudo make install" + - cd .. + - sudo pip install cpp-coveralls + - ./autogen.sh ${CONFIG} script: - ${SUDO} make clean && export SWTPM_TEST_EXPENSIVE=1 && ${SUDO} make -j4 ${CHECK} + - ${SUDO} make clean && export SWTPM_TEST_EXPENSIVE=1 && ${SUDO} make -j$(nproc) ${CHECK} matrix: include: - env: CONFIG="--with-openssl --prefix=/usr"