Upgrade python packages before testing

This commit is contained in:
Martin Pépin 2017-10-10 21:27:15 +02:00
parent e0ab7f5f94
commit 3f6c5be748

View file

@ -33,7 +33,7 @@ before_script:
- sed -i.bak -E 's;^REDIS_PASSWD = .*$;REDIS_PASSWD = "";' cof/settings/secret.py
# Remove the old test database if it has not been done yet
- psql --username=$POSTGRES_USER --host=$DBHOST -c "DROP DATABASE IF EXISTS test_$POSTGRES_DB"
- pip install --cache-dir vendor/pip -t vendor/python -r requirements.txt
- pip install --upgrade --cache-dir vendor/pip -t vendor/python -r requirements.txt
test:
stage: test