diff options
author | [Aron Schueler] <aron.schueler@dass-it.de> | 2018-10-09 09:19:49 +0300 |
---|---|---|
committer | [Aron Schueler] <aron.schueler@dass-it.de> | 2018-10-09 09:30:04 +0300 |
commit | facaae8388eee92dc5605d6683c04f2441a4c817 (patch) | |
tree | 0ca8c9cd01db6713af1c5c442bde387d9e2ac090 /.travis | |
parent | b25b007bdb5ee19fb4350fe02cac69635e28c331 (diff) |
travis: upgrade pip and urllib3 for travis builds
- Fix an error where python was not able to decode body content due to an older version of urllib3.
Diffstat (limited to '.travis')
-rwxr-xr-x | .travis/travis_before_install.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.travis/travis_before_install.sh b/.travis/travis_before_install.sh index f67721bc3..47a1816cb 100755 --- a/.travis/travis_before_install.sh +++ b/.travis/travis_before_install.sh @@ -3,12 +3,12 @@ sudo apt-get -qq update # qt5 should be used. Remove qt4-dev to avoid confusion. sudo apt-get remove libqt4-dev -sudo pip install sauceclient selenium - cd core dpkg-checkbuilddeps 2> /tmp/dpkg-builddeps || true if [ $BUILD_WEBUI ] then + sudo -H pip install --upgrade pip urllib3==1.22 + sudo -H pip install sauceclient selenium cd ../webui dpkg-checkbuilddeps 2>> /tmp/dpkg-builddeps || true fi |