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.
This commit is contained in:
Damien George 2018-06-06 15:07:50 +10:00
parent a8b9e71ac1
commit b789c640f7
1 changed files with 3 additions and 2 deletions

View File

@ -21,8 +21,9 @@ before_script:
- sudo apt-get install -y --force-yes gcc-arm-none-eabi - sudo apt-get install -y --force-yes gcc-arm-none-eabi
# For teensy build # For teensy build
- sudo apt-get install realpath - sudo apt-get install realpath
# For coverage testing (upgrade is used to get latest urllib3 version) # For coverage testing (a specific urllib3 version is needed for requests and cpp-coveralls to work together)
- sudo pip install --upgrade cpp-coveralls - sudo pip install -Iv urllib3==1.22
- sudo pip install cpp-coveralls
- gcc --version - gcc --version
- arm-none-eabi-gcc --version - arm-none-eabi-gcc --version
- python3 --version - python3 --version