From: Tobias Brunner Date: Tue, 2 Oct 2018 14:13:26 +0000 (+0200) Subject: travis: Don't build botan twice if installing dependencies is retried X-Git-Tag: 5.7.2dr1~22 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d4068a1dd8b9d6f60cc4d92d49ef33365b0c10c9;p=thirdparty%2Fstrongswan.git travis: Don't build botan twice if installing dependencies is retried --- diff --git a/scripts/test.sh b/scripts/test.sh index 25eca29f0d..6f97e24356 100755 --- a/scripts/test.sh +++ b/scripts/test.sh @@ -7,6 +7,10 @@ build_botan() BOTAN_REV=1872f899716854927ecc68022fac318735be8824 BOTAN_DIR=$TRAVIS_BUILD_DIR/../botan + if test -d "$BOTAN_DIR"; then + return + fi + # if the leak detective is enabled we have to disable threading support # (used for std::async) as that causes invalid frees somehow, the # locking allocator causes a static leak via the first function that