diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index de828f95e6c96b5f6f0243dff671e4c7920dc1ff..4e0cc90c02375040d0951820dda94713ab927957 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,6 +1,7 @@ stages: - test - deploy + test-centos7-p34: image: centos:centos7 stage: test @@ -36,6 +37,29 @@ test-centos7-p34: - python3.6 manage.py test - coverage run --source='.' manage.py test - coverage report + + +test-p35: + image: python:3.5 + stage: test + script: + - apt-get update + - apt-get install -y gcc graphviz graphviz-dev + - apt-get install -y postgresql-dev + - apt-get install -y apache2 apache2-dev + - apt-get install -y g++ make wget + - wget https://gitlab.pasteur.fr/hub/openbabel4ippidb/raw/master/rpmbuild/RPMS/x86_64/openbabel-libs-2.4.90-2.PR1902.py3.el7.x86_64.rpm + - wget https://gitlab.pasteur.fr/hub/openbabel4ippidb/raw/master/rpmbuild/RPMS/x86_64/openbabel-devel-2.4.90-2.PR1902.py3.el7.x86_64.rpm + - wget https://gitlab.pasteur.fr/hub/openbabel4ippidb/raw/master/rpmbuild/RPMS/x86_64/openbabel-2.4.90-2.PR1902.py3.el7.x86_64.rpm + - wget https://gitlab.pasteur.fr/hub/openbabel4ippidb/raw/master/rpmbuild/RPMS/x86_64/python3-openbabel-2.4.90-2.PR1902.py3.el7.x86_64.rpm + - rpm -Uvh *.rpm + - cd ippisite + - pip3.6 install -r requirements-dev.txt + - python3.6 manage.py test + - coverage run --source='.' manage.py test + - coverage report + + deploy-webserver: image: python:3.5 stage: deploy