Merge branch 'Kerl/ci-py35' into 'master'

Utilise python 3.5 dans l'intégration continue

See merge request cof-geek/gestioCOF!306
This commit is contained in:
Martin Pepin 2018-09-02 18:24:24 +02:00
commit a8bfedb28b

View file

@ -1,3 +1,5 @@
image: "python:3.5"
services:
- postgres:latest
- redis:latest
@ -34,6 +36,7 @@ before_script:
# 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 --upgrade --cache-dir vendor/pip -t vendor/python -r requirements.txt
- python --version
test:
stage: test