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

Update .gitlab-ci.yml

Add stages 
parent f463dc0f
No related branches found
No related tags found
No related merge requests found
...@@ -5,13 +5,11 @@ image: python:latest ...@@ -5,13 +5,11 @@ image: python:latest
before_script: before_script:
- python3 -V # Print out python version for debugging - python3 -V # Print out python version for debugging
test: stages:
script: - build
- python3 setup.py test - test
- pip3 install tox flake8 # you can also use tox
- tox -e py36,flake8
run: build:
script: script:
- python3 setup.py bdist_wheel - python3 setup.py bdist_wheel
# an alternative approach is to install and run: # an alternative approach is to install and run:
...@@ -21,6 +19,14 @@ run: ...@@ -21,6 +19,14 @@ run:
# paths: # paths:
# - dist/*.whl # - dist/*.whl
test:
script:
- python3 setup.py test
- pip3 install tox flake8 # you can also use tox
- tox -e py36,flake8
pages: pages:
script: script:
- pip3 install sphinx sphinx-rtd-theme - pip3 install sphinx sphinx-rtd-theme
......
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