forked from DGNum/gestioCOF
Merge branch 'kerl/ci_python_37' into 'master'
CI : les tests tournent sous python 3.5 et python 3.7 See merge request klub-dev-ens/gestioCOF!402
This commit is contained in:
commit
bd74f4098c
1 changed files with 11 additions and 2 deletions
|
@ -18,8 +18,7 @@ variables:
|
|||
# psql password authentication
|
||||
PGPASSWORD: $POSTGRES_PASSWORD
|
||||
|
||||
test:
|
||||
stage: test
|
||||
.test_template:
|
||||
before_script:
|
||||
- mkdir -p vendor/{pip,apt}
|
||||
- apt-get update -q && apt-get -o dir::cache::archives="vendor/apt" install -yqq postgresql-client
|
||||
|
@ -44,6 +43,16 @@ test:
|
|||
# Keep this disabled for now, as it may kill GitLab...
|
||||
# coverage: '/TOTAL.*\s(\d+\.\d+)\%$/'
|
||||
|
||||
test35:
|
||||
extends: ".test_template"
|
||||
image: "python:3.5"
|
||||
stage: test
|
||||
|
||||
test37:
|
||||
extends: ".test_template"
|
||||
image: "python:3.7"
|
||||
stage: test
|
||||
|
||||
linters:
|
||||
image: python:3.6
|
||||
stage: test
|
||||
|
|
Loading…
Reference in a new issue