Commit ff879728 authored by LAMBERT Jean-charles's avatar LAMBERT Jean-charles

add testpy upload

parent 61a2ca85
Pipeline #1465 failed with stage
in 23 seconds
......@@ -6,6 +6,9 @@
#qmake
*.user
# ide
*tags
#swig
py/unsio/py_unsio.py
py/unsio/py_unsio_wrap.cpp
......@@ -18,6 +21,8 @@ py/unsio/version*
*.pyc
# tilda
*~
*.whl
py/wheels
# Compiled Object files
*.slo
......@@ -72,5 +77,5 @@ Makefile.in
*.cubin
*.fatbin
# unknown
taxon
......@@ -11,11 +11,14 @@
stages:
- build
- testpypi
variables :
TWINE_USERNAME: jcl
TWINE_PASSWORD: $TEST_PY_PASSWD
WHEEL : 0
TESTPYPI : 0
before_script:
# clone
#- git clone https://gitlab.lam.fr/jclamber/unsio.git
......@@ -34,13 +37,31 @@ manylinux2010 :
- CI/script/build-unsio.sh
- CI/script/build-wheel.sh
- CI/script/repair-wheel.sh
- /opt/python/cp37-cp37m/bin/python setup.py sdist -d wheel
- CI/script/test-unsio.sh
cache:
key: manylinux2010
paths:
- wheel/
artifacts:
name: "manylinux2010"
paths:
- test-*.res
- wheel/*
push-testpypi-manylinux2010:
stage: testpypi
image : portus.lam.fr/jclamber/unsio-manylinux2010
only :
variables:
- $TESTPYPI == "1"
script:
- /opt/python/cp37-cp37m/bin/python -m twine upload -u $TWINE_USERNAME -p $TWINE_PASSWORD --repository-url https://test.pypi.org/legacy ./wheel/python*unsio*
cache:
key: manylinux2010
paths:
- wheel/
#
# RPM Distros
#
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment