Skip to content
Snippets Groups Projects
Commit 2cd0522b authored by Tamas Gal's avatar Tamas Gal :speech_balloon:
Browse files

Update CI

parent ab99ce69
No related branches found
No related tags found
No related merge requests found
Pipeline #8817 failed
......@@ -17,6 +17,13 @@ stages:
- build
before_script:
- yum install -y epel-release
- yum install -y python-pip python-devel
- _CWD=$(pwd) && cd /usr/local/root && source bin/thisroot.sh && cd $_CWD
- source /Jpp/setenv.sh /Jpp
.virtualenv_template: &virtualenv_definition |
python -V
pip install -U pip setuptools wheel
......@@ -25,6 +32,7 @@ stages:
source venv/bin/activate
pip install .
.junit_template: &junit_definition
artifacts:
reports:
......@@ -35,11 +43,21 @@ build-jpp-12.1.0:
image: docker.km3net.de/jpp:v12-1-0
stage: build
script:
- yum install -y epel-release
- yum install -y python-pip python-devel
- _CWD=$(pwd) && cd /usr/local/root && source bin/thisroot.sh && cd $_CWD
- which -a root
- which -a python
- python -c "import ROOT"
- source /Jpp/setenv.sh /Jpp
- *virtualenv_definition
build-jpp-latest:
image: docker.km3net.de/jpp:latest
stage: build
script:
- *virtualenv_definition
pypi:
image: docker.km3net.de/base/python:3
stage: release
cache: {}
script:
- pip install -U twine setuptools
- python setup.py sdist
- twine upload dist/*
only:
- tags
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment