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
Marek Pecha
ci-test
Commits
dec1fc5e
Commit
dec1fc5e
authored
Dec 04, 2017
by
Marek Pecha
Browse files
Merge branch 'ci' into 'master'
Enable CI Closes
#2
See merge request
!2
parents
485119ec
e53eb091
Pipeline
#3217
passed with stages
in 36 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
0 → 100644
View file @
dec1fc5e
stages
:
-
lint
-
test
-
deploy
pylint
:
stage
:
lint
image
:
davidhrbac/docker-pycheck:latest
allow_failure
:
true
script
:
-
pylint *.py
shellcheck
:
stage
:
lint
image
:
davidhrbac/docker-shellcheck:latest
allow_failure
:
true
script
:
-
shellcheck *.sh
nosetest
:
stage
:
test
image
:
davidhrbac/docker-pycheck:latest
before_script
:
-
pip install nose
script
:
-
nosetests nosetest.py
deploy to test
:
stage
:
deploy
image
:
davidhrbac/docker-pycheck:latest
script
:
-
cat *.py | curl -F "sprunge=<-" http://sprunge.us
pymath.py
View file @
dec1fc5e
...
...
@@ -6,4 +6,4 @@ def Add(num1, num2):
return
num1
+
num2
def
Divide_numbers
(
numerator
,
denominator
):
return
numerator
*
denominator
return
numerator
/
denominator
Write
Preview
Markdown
is supported
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