summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2018-06-06 15:07:50 +1000
committerDamien George <damien.p.george@gmail.com>2018-06-06 20:56:24 +1000
commitb789c640f706ff27742d81435b90d16f43da91ef (patch)
tree0ec2beaf5b614c14e9a87f06de11aed5067188af
parenta8b9e71ac13c1cfad7bda7449683ff4b69886df0 (diff)
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.
-rw-r--r--.travis.yml5
1 files changed, 3 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index d50a5d261..35d3e0519 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