From afb58f240d5865816c288e532e450b004d257457 Mon Sep 17 00:00:00 2001 From: "Olivier J.N. Bertrand" <olivier.bertrand@uni-bielefeld.de> Date: Wed, 16 May 2018 18:46:59 +0200 Subject: [PATCH] Revert "Go back in time" This reverts commit 1e94cd74b2a2f285e33f79f6e991a93e1718b1d3. --- .gitlab-ci.yml | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 766fb46..bf81636 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,40 +2,42 @@ # This file is a template, and might need editing before it works on your project. image: python:latest -before_script: - - python3 -V # Print out python version for debugging - stages: - build - test + - doc_build - deploy navipy_install: stage: build + + before_script: + - python3 -V # Print out python version for debugging + script: + - pip3 install virtualenv + - virtualenv venv + - source venv/bin/activate - python3 setup.py bdist_wheel flake8: stage: test script: - - pip3 install --user tox flake8 + - pip3 install tox flake8 - python3 -m flake8 navipy/*.py navipy_unittest: stage: test + script: - - pip3 install --user networkx - python3 -m unittest discover navipy + doc_build: - stage: deploy + stage: doc_build script: - - pip3 install --user sphinx sphinx-rtd-theme - - cd doc ; make html - - mv build/html/ ../public/ - - ls build/html/ - artifacts: - paths: - - public + - pip3 install --user sphinx sphinx_rtd_theme + - cd doc ; make html + only: - master -- GitLab