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

Revert "Go back in time"

This reverts commit 1e94cd74.
parent 52906f38
No related branches found
No related tags found
No related merge requests found
...@@ -2,40 +2,42 @@ ...@@ -2,40 +2,42 @@
# 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 image: python:latest
before_script:
- python3 -V # Print out python version for debugging
stages: stages:
- build - build
- test - test
- doc_build
- deploy - deploy
navipy_install: navipy_install:
stage: build stage: build
before_script:
- python3 -V # Print out python version for debugging
script: script:
- pip3 install virtualenv
- virtualenv venv
- source venv/bin/activate
- python3 setup.py bdist_wheel - python3 setup.py bdist_wheel
flake8: flake8:
stage: test stage: test
script: script:
- pip3 install --user tox flake8 - pip3 install tox flake8
- python3 -m flake8 navipy/*.py - python3 -m flake8 navipy/*.py
navipy_unittest: navipy_unittest:
stage: test stage: test
script: script:
- pip3 install --user networkx
- python3 -m unittest discover navipy - python3 -m unittest discover navipy
doc_build: doc_build:
stage: deploy stage: doc_build
script: script:
- pip3 install --user sphinx sphinx-rtd-theme - pip3 install --user sphinx sphinx_rtd_theme
- cd doc ; make html - cd doc ; make html
- mv build/html/ ../public/
- ls build/html/
artifacts:
paths:
- public
only: only:
- master - master
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