Skip to content
Snippets Groups Projects
Commit 55a908f2 authored by squidfunk's avatar squidfunk
Browse files

Install secure urllib package to fix twine deployment on Travis

parent 2b6ad005
Branches
Tags
No related merge requests found
...@@ -43,6 +43,10 @@ echo "$TRAVIS_BRANCH" | grep -qvE "^[0-9.]+$" && exit 0; :; ...@@ -43,6 +43,10 @@ echo "$TRAVIS_BRANCH" | grep -qvE "^[0-9.]+$" && exit 0; :;
# Install dependencies for release build # Install dependencies for release build
pip install --user wheel twine 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 # Build and install theme and Docker image
python setup.py build sdist bdist_wheel --universal python setup.py build sdist bdist_wheel --universal
docker build -t $TRAVIS_REPO_SLUG . docker build -t $TRAVIS_REPO_SLUG .
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment