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

Add gitlab ci

parent 1d583e63
No related branches found
No related tags found
No related merge requests found
# 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
test:
script:
- python3 setup.py test
- pip3 install tox flake8 # you can also use tox
- tox -e py36,flake8
run:
script:
- python3 setup.py bdist_wheel
# an alternative approach is to install and run:
- pip3 install dist/*
# run the command here
artifacts:
paths:
- dist/*.whl
pages:
script:
- pip3 install sphinx sphinx-rtd-theme
- cd doc ; make html
- mv build/html/ ../public/
artifacts:
paths:
- public
only:
- 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