From eadbb161a4461f9665c9d759b9956ad75b9efb6a Mon Sep 17 00:00:00 2001 From: Bryan BRANCOTTE <bryan.brancotte@pasteur.fr> Date: Wed, 30 Oct 2019 10:39:38 +0100 Subject: [PATCH] Update .gitlab-ci.yml --- .gitlab-ci.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index de828f95..4e0cc90c 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 -- GitLab