From 1692dc5ab3b27c0ef3d9615e0dac36b7102c9a1c Mon Sep 17 00:00:00 2001 From: "valentin.emiya" <valentin.emiya@lif.univ-mrs.fr> Date: Wed, 3 Jun 2020 16:16:34 +0200 Subject: [PATCH] CI --- python/.gitlab-ci.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 python/.gitlab-ci.yml diff --git a/python/.gitlab-ci.yml b/python/.gitlab-ci.yml new file mode 100644 index 0000000..08e3844 --- /dev/null +++ b/python/.gitlab-ci.yml @@ -0,0 +1,24 @@ +# run the test suite +tests: + image: registry.gitlab.lis-lab.fr:5005/skmad-suite/madarrays/ubuntu:18.04 + tags: + - docker + script: + - pip3 install --no-deps . + - pytest-3 + +# generate the documentation +pages: + image: registry.gitlab.lis-lab.fr:5005/skmad-suite/madarrays/ubuntu:18.04 + tags: + - docker + only: + - master + script: + - pip3 install --no-deps . + - python3 setup.py build_sphinx + - cp -r build/sphinx/html public + artifacts: + paths: + - public + -- GitLab