Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Alchemy
autobuild
Commits
f5b5c8b6
Commit
f5b5c8b6
authored
Jul 26, 2021
by
Rye Mutt
🍞
Browse files
Update .gitlab-ci.yml
parent
f6e9cd78
Pipeline
#975
failed with stages
in 28 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
f5b5c8b6
...
...
@@ -3,6 +3,10 @@
# https://hub.docker.com/r/library/python/tags/
image
:
python:3.9
stages
:
-
test
-
package
# Change pip's cache directory to be inside the project directory since we can
# only cache local items.
variables
:
...
...
@@ -25,13 +29,17 @@ before_script:
-
source venv/bin/activate
test
:
stage
:
test
allow_failure
:
true
script
:
-
apt-get update && apt-get install -y -qq graphviz
-
pip install nose
-
python setup.py test
-
pip install tox flake8
# you can also use tox
-
tox -e py36,flake8
run
:
upload_package
:
stage
:
package
script
:
-
python setup.py sdist bdist_wheel
-
pip install twine
...
...
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