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:
parent
3b3aecbf8c
commit
687f52233e
|
@ -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_COVERITY_SCAN}" = "yes" ]; then curl -s 'https://scan.coverity.com/scripts/travisci_build_coverity_scan.sh' | bash || true; fi
|
||||||
|
|
||||||
- if [ "${DO_SIMULATION}" = "javacard" ]; then
|
- if [ "${DO_SIMULATION}" = "javacard" ]; then
|
||||||
|
set -ex;
|
||||||
git clone https://github.com/frankmorgner/vsmartcard.git;
|
git clone https://github.com/frankmorgner/vsmartcard.git;
|
||||||
cd vsmartcard/virtualsmartcard;
|
cd vsmartcard/virtualsmartcard;
|
||||||
autoreconf -vis && ./configure && sudo make install;
|
autoreconf -vis && ./configure && sudo make install;
|
||||||
|
@ -170,6 +171,7 @@ before_script:
|
||||||
cd yubico-piv-tool;
|
cd yubico-piv-tool;
|
||||||
autoreconf -vis && ./configure && sudo make install;
|
autoreconf -vis && ./configure && sudo make install;
|
||||||
cd $TRAVIS_BUILD_DIR;
|
cd $TRAVIS_BUILD_DIR;
|
||||||
|
set +ex;
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- if [ "${DO_SIMULATION}" = "oseid" ]; then
|
- if [ "${DO_SIMULATION}" = "oseid" ]; then
|
||||||
|
|
Loading…
Reference in New Issue