diff --git a/.travis.yml b/.travis.yml index a2a4428..cc79cf5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -40,6 +40,7 @@ matrix: --coverage" REPORT_COVERAGE=1 before_install: - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew upgrade; fi +- if [ -n "$REPORT_COVERAGE" ]; then sudo apt-get update python; fi - if [ -n "$REPORT_COVERAGE" ]; then sudo apt-get install python-dev libffi-dev libssl-dev; fi - if [ -n "$REPORT_COVERAGE" ]; then sudo pip install --upgrade pip; fi - if [ -n "$REPORT_COVERAGE" ]; then CXX=g++ pip install --user requests[security]; fi