From b98e01b998b18b8aa705695bbaf33a44dd96c4fe Mon Sep 17 00:00:00 2001 From: squidfunk <martin.donath@squidfunk.com> Date: Tue, 6 Mar 2018 19:40:07 +0100 Subject: [PATCH] Fixed build of Docker container on Travis --- .travis.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.travis.sh b/.travis.sh index 10777f12..98ded0ad 100755 --- a/.travis.sh +++ b/.travis.sh @@ -40,6 +40,10 @@ echo "$TRAVIS_BRANCH" | grep -qvE "^[0-9.]+$" && exit 0; :; # Install dependencies for release build pip install --user wheel twine +# Fix SSL warnings for Python > 2.7.9 +# https://urllib3.readthedocs.io/en/latest/user-guide.html#ssl-py2 +pip install --user urllib3[secure] + # Build and install theme and Docker image python setup.py build sdist bdist_wheel --universal docker build -t $TRAVIS_REPO_SLUG . -- GitLab