diff --git a/.travis.yml b/.travis.yml index a40acaf..805f719 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,11 +9,11 @@ env: before_script: - sudo apt-get update - sudo apt-get install python3-dev - - if [ -z "COVERAGEPY" ]; then + - if [ -z "$COVERAGEPY" ]; then sudo apt-get install python-coverage; else wget https://bootstrap.pypa.io/get-pip.py && - sudo python3 get-pip.py --allow-external sudo && + sudo python3 get-pip.py && sudo pip3 install coverage="$COVERAGEPY"; fi - if [ $CI_TARGET = vim ]; then