From bf1f4aefa686554fa24ac2fbcf1457aa9de4eccf Mon Sep 17 00:00:00 2001 From: Dave Page Date: Fri, 21 Apr 2017 10:04:47 +0100 Subject: [PATCH] Ensure PIP is the latest version when running the CI tests. --- ci/run_python_tests.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/ci/run_python_tests.sh b/ci/run_python_tests.sh index bed763e75..3243e2bf4 100755 --- a/ci/run_python_tests.sh +++ b/ci/run_python_tests.sh @@ -23,6 +23,7 @@ fi /usr/bin/virtualenv -p /usr/local/python-$PYTHON_VERSION/bin/python$PYTHON_SUFFIX $WORKSPACE/pgadmin-venv || { echo 'ERROR: Failed to create the Python virtual environment.' ; exit 1; } . $WORKSPACE/pgadmin-venv/bin/activate || { echo 'ERROR: Failed to activate the Python virtual environment.' ; exit 1; } +$WORKSPACE/pgadmin-venv/bin/pip install pip --upgrade || { echo 'ERROR: Failed to update PIP to the latest version.' ; exit 1; } $WORKSPACE/pgadmin-venv/bin/pip install -r requirements.txt || { echo 'ERROR: Failed to install the application requirements.' ; exit 1; } $WORKSPACE/pgadmin-venv/bin/pip install -r web/regression/requirements.txt || { echo 'ERROR: Failed to install the regression test requirements.' ; exit 1; }