From b789c640f706ff27742d81435b90d16f43da91ef Mon Sep 17 00:00:00 2001 From: Damien George Date: Wed, 6 Jun 2018 15:07:50 +1000 Subject: [PATCH] travis: Install explicit version of urllib3 for coveralls. Coveralls requires a "recent" version of urllib3, whereas requests requires a "not so recent" version, less than 1.23. So force urllib3 v1.22 to get it all working. --- .travis.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index d50a5d2615..35d3e05198 100644 --- a/.travis.yml +++ b/.travis.yml @@ -21,8 +21,9 @@ before_script: - sudo apt-get install -y --force-yes gcc-arm-none-eabi # For teensy build - sudo apt-get install realpath - # For coverage testing (upgrade is used to get latest urllib3 version) - - sudo pip install --upgrade cpp-coveralls + # For coverage testing (a specific urllib3 version is needed for requests and cpp-coveralls to work together) + - sudo pip install -Iv urllib3==1.22 + - sudo pip install cpp-coveralls - gcc --version - arm-none-eabi-gcc --version - python3 --version