Use apt to install pip

This commit is contained in:
Joe Rickerby
2017-09-07 21:45:43 +01:00
parent 1cd65ccbb6
commit 7420e2a924
+2 -1
View File
@@ -28,7 +28,8 @@ script:
$PYTHON ./bin/run_tests.py
else
# linux test requires root to clean up the wheelhouse (docker runs as root)
sudo $PYTHON -m ensurepip
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