Something went wrong on our end
-
Olivier Bertrand authoredOlivier Bertrand authored
.gitlab-ci.yml 821 B
# This file is a template, and might need editing before it works on your project.
# 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
- deploy
navipy_install:
stage: build
script:
- python3 setup.py bdist_wheel
flake8:
stage: test
script:
- pip3 install --user 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
script:
- pip3 install --user sphinx sphinx-rtd-theme
- cd doc ; make html
- mv build/html/ ../public/
artifacts:
paths:
- public
only:
- master