forked from DGNum/gestioCOF
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:
commit
a8bfedb28b
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue