Skip to content
Snippets Groups Projects
Commit 338487c9 authored by Marek Chrastina's avatar Marek Chrastina
Browse files

Add build ci

parent 2aff4093
Branches
No related tags found
No related merge requests found
Pipeline #7892 failed
stages: stages:
- test - test
- build
mdcheck: mdcheck:
stage: test stage: test
...@@ -8,6 +9,7 @@ mdcheck: ...@@ -8,6 +9,7 @@ mdcheck:
- mdl *.md - mdl *.md
pylint: pylint:
allow_failure: true
stage: test stage: test
image: it4innovations/docker-pycheck:latest image: it4innovations/docker-pycheck:latest
script: script:
...@@ -16,3 +18,17 @@ pylint: ...@@ -16,3 +18,17 @@ pylint:
- if [ -f pip-upgradedependencies.egg-info/requires.txt ]; then pip install $(paste -d " " -s pip-upgradedependencies.egg-info/requires.txt); fi - if [ -f pip-upgradedependencies.egg-info/requires.txt ]; then pip install $(paste -d " " -s pip-upgradedependencies.egg-info/requires.txt); fi
- pip install better-setuptools-git-version - pip install better-setuptools-git-version
- pylint $(find . -type f -name "*.py") - pylint $(find . -type f -name "*.py")
build:
stage: build
image: it4innovations/docker-pypi:latest
artifacts:
expire_in: 1 day
paths:
- dist/pipupgradedependencies*tar.gz
script:
- export PYTHONIOENCODING=UTF-8
- export LC_CTYPE=en_US.UTF-8
- pip install setuptools-git-version setuptools-markdown
- python setup.py --version
- python setup.py sdist
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment