Commit 1b60d507 authored by Rémi Cailletaud's avatar Rémi Cailletaud

exo11

parent b1cd38f3
......@@ -9,10 +9,17 @@ before_script:
- python setup.py install
job_test:
stage : test
stage: test
script:
- python setup.py test
job_codestyle:
stage: test
script:
- pip install pycodestyle
- pycodestyle dice.py
allow_failure: true
pages:
stage : deploy
only:
......
image : ubuntu
image : python:3
stages :
- test
- manual
- deploy
job_test :
before_script:
- cd python-dice
- python setup.py install
job_test:
stage: test
script:
- python setup.py test
job_codestyle:
stage: test
script :
- echo "Hello world"
- more /etc/issue
- date
script:
- pip install pycodestyle
- pycodestyle dice.py
allow_failure: true
pages:
stage : deploy
only:
variables:
- $CI_COMMIT_MESSAGE =~ /^\[doc\].*/i
script:
- pip install sphinx
- python setup.py build_sphinx
- mv build/sphinx/html ../public
artifacts:
paths:
- public
job_manual :
stage: manual
when: manual
script :
- echo "Manual triggered"
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