Verified Commit d9ee70a9 authored by SIMONIN Matthieu's avatar SIMONIN Matthieu
Browse files

ci

docs + pep8 are now used in the CI.
pep8 is allowing to fail for now (this needs to be fixed !)
pages are populated with the api documentation (we'll need to extend
with some examples)
parent da18a5e0
Pipeline #85579 passed with stages
in 2 minutes and 14 seconds
---
stages:
- test
- publish
pep8:
image: python:3.6
stage: test
tags: [qlf-ci.inria.fr]
script:
- pip install tox
- tox -e pep8
allow_failure: true
doc:
image: python:3.6
stage: test
tags: [qlf-ci.inria.fr]
script:
- pip install tox
- tox -e docs
artifacts:
paths:
- docs/_build/html
pages:
# when: manual
stage: publish
tags: [qlf-ci.inria.fr]
dependencies:
- doc
script:
- mkdir -p public/
- cp -r docs/_build/html/* public/
artifacts:
paths:
- public
......@@ -12,7 +12,7 @@ commands =
usedevelop = True
[testenv:pep8]
changedir = enoslib/
changedir = distem/
commands = flake8
distribute = false
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment