Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
continuous-everything
ci
Commits
1b60d507
Commit
1b60d507
authored
Aug 31, 2018
by
Rémi Cailletaud
Browse files
exo11
parent
b1cd38f3
Changes
2
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci-11-doc.yml
View file @
1b60d507
...
...
@@ -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
:
...
...
.gitlab-ci.yml
View file @
1b60d507
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"
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment