Skip to content

Commit b789c64

Browse files
committed
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.
1 parent a8b9e71 commit b789c64

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.travis.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,9 @@ before_script:
2121
- sudo apt-get install -y --force-yes gcc-arm-none-eabi
2222
# For teensy build
2323
- sudo apt-get install realpath
24-
# For coverage testing (upgrade is used to get latest urllib3 version)
25-
- sudo pip install --upgrade cpp-coveralls
24+
# For coverage testing (a specific urllib3 version is needed for requests and cpp-coveralls to work together)
25+
- sudo pip install -Iv urllib3==1.22
26+
- sudo pip install cpp-coveralls
2627
- gcc --version
2728
- arm-none-eabi-gcc --version
2829
- python3 --version

0 commit comments

Comments
 (0)