From 687f52233e718d3a33fee170f5c1e0d23328725c Mon Sep 17 00:00:00 2001 From: Jakub Jelen Date: Thu, 7 May 2020 20:01:17 +0200 Subject: [PATCH] travis-ci: Fail if any applet or tool needed for tests fails to build (in our case, it was yubico-piv-tool and PivApplet for some time) --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index 416d20c8..be1a083f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -120,6 +120,7 @@ before_script: - if [ "${DO_COVERITY_SCAN}" = "yes" ]; then curl -s 'https://scan.coverity.com/scripts/travisci_build_coverity_scan.sh' | bash || true; fi - if [ "${DO_SIMULATION}" = "javacard" ]; then + set -ex; git clone https://github.com/frankmorgner/vsmartcard.git; cd vsmartcard/virtualsmartcard; autoreconf -vis && ./configure && sudo make install; @@ -170,6 +171,7 @@ before_script: cd yubico-piv-tool; autoreconf -vis && ./configure && sudo make install; cd $TRAVIS_BUILD_DIR; + set +ex; fi - if [ "${DO_SIMULATION}" = "oseid" ]; then