diff --git a/python/.gitlab-ci.yml b/python/.gitlab-ci.yml new file mode 100644 index 0000000000000000000000000000000000000000..08e3844621f16b025513b84caa241df839a7f695 --- /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 +