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)
This commit is contained in:
Jakub Jelen 2020-05-07 20:01:17 +02:00 committed by Frank Morgner
parent 3b3aecbf8c
commit 687f52233e
1 changed files with 2 additions and 0 deletions

View File

@ -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