Skip to content
Snippets Groups Projects
Commit f43900b9 authored by Olivier Bertrand's avatar Olivier Bertrand
Browse files

reformat CI/CD

parent 890789b0
No related branches found
No related tags found
No related merge requests found
...@@ -7,26 +7,28 @@ before_script: ...@@ -7,26 +7,28 @@ before_script:
stages: stages:
- build - build
- flake8
- test - test
- deploy
build: navipy_install:
stage: build
script: script:
- python3 setup.py bdist_wheel - python3 setup.py bdist_wheel
flake8: flake8:
stage: test
script: script:
- pip3 install --user tox flake8 - pip3 install --user tox flake8
- python3 -m flake8 navipy/*.py - python3 -m flake8 navipy/*.py
test: navipy_unittest:
stage: test
script: script:
- pip3 install --user networkx # you can also use tox - pip3 install --user networkx
- python3 -m unittest discover navipy - python3 -m unittest discover navipy
doc_build:
stage: deploy
pages:
script: script:
- pip3 install --user sphinx sphinx-rtd-theme - pip3 install --user sphinx sphinx-rtd-theme
- cd doc ; make html - cd doc ; make html
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment