From 510a6ce84a39739d8b8dd66e1c86707582166089 Mon Sep 17 00:00:00 2001 From: Joe Rickerby Date: Thu, 7 Sep 2017 21:50:38 +0100 Subject: [PATCH] Only install python3 pip when doing that build --- .travis.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 953e4bfd..60258498 100644 --- a/.travis.yml +++ b/.travis.yml @@ -27,9 +27,11 @@ script: $PYTHON -m pip install -r requirements-dev.txt $PYTHON ./bin/run_tests.py else + if [[ "$PYTHON" == python3 ]]; then + sudo apt-get -qq update + sudo apt-get install -y python3-pip + fi # linux test requires root to clean up the wheelhouse (docker runs as root) - sudo apt-get -qq update - sudo apt-get install -y python3-pip sudo $PYTHON -m pip install -r requirements-dev.txt sudo $PYTHON ./bin/run_tests.py fi