Revert "_build/generate-badge.sh: Connect to shields.io using SSLv3"

This reverts commit 1561786f31.
This commit is contained in:
Daniel Rudolf 2016-01-14 16:24:10 +01:00
parent 1561786f31
commit 9f0c7bde5d

View file

@ -29,13 +29,10 @@ printf 'BADGE_COLOR="%s"\n' "$BADGE_COLOR"
echo
# download badge from shields.io
# use SSLv3 due to a strange TLS bug in Ubuntu 12.04 LTS used by Travis CI
# see https://bugs.launchpad.net/ubuntu/+source/openssl/+bug/861137 for details
printf 'Downloading badge...\n'
TMP_BADGE="$(mktemp -u)"
wget --secure-protocol=SSLv3 \
-O "$TMP_BADGE" \
wget -O "$TMP_BADGE" \
"https://img.shields.io/badge/$BADGE_SUBJECT-$BADGE_STATUS-$BADGE_COLOR.svg"
# validate badge