diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 27aed8b9fa4d4249225607f77befe62badcc0d48..09d0952ba7449a9e056fa1c243d29ce809481cb7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -8,13 +8,27 @@ unbutu:17.10: script: - pip3 install -e . - nosetests - - python3 setup.py build_sphinx - - cp -r build/sphinx/html public artifacts: when: always untracked: true paths: - - public - build expire_in: 8d +# doc template +.doc: &doc + script: + - pip3 install -e . + - python3 setup.py build_sphinx + - cp -r build/sphinx/html public + artifacts: + paths: + - public + +pages: + <<: *doc + image: registry.gitlab.lis-lab.fr:5005/dev/scikit-splearn + tags: + - docker + only: + - master