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 @@ ...@@ -6,6 +6,9 @@
#qmake #qmake
*.user *.user
# ide
*tags
#swig #swig
py/unsio/py_unsio.py py/unsio/py_unsio.py
py/unsio/py_unsio_wrap.cpp py/unsio/py_unsio_wrap.cpp
...@@ -18,6 +21,8 @@ py/unsio/version* ...@@ -18,6 +21,8 @@ py/unsio/version*
*.pyc *.pyc
# tilda # tilda
*~ *~
*.whl
py/wheels
# Compiled Object files # Compiled Object files
*.slo *.slo
...@@ -72,5 +77,5 @@ Makefile.in ...@@ -72,5 +77,5 @@ Makefile.in
*.cubin *.cubin
*.fatbin *.fatbin
# unknown
taxon
...@@ -11,11 +11,14 @@ ...@@ -11,11 +11,14 @@
stages: stages:
- build - build
- testpypi
variables : variables :
TWINE_USERNAME: jcl TWINE_USERNAME: jcl
TWINE_PASSWORD: $TEST_PY_PASSWD TWINE_PASSWORD: $TEST_PY_PASSWD
WHEEL : 0 WHEEL : 0
TESTPYPI : 0
before_script: before_script:
# clone # clone
#- git clone https://gitlab.lam.fr/jclamber/unsio.git #- git clone https://gitlab.lam.fr/jclamber/unsio.git
...@@ -34,13 +37,31 @@ manylinux2010 : ...@@ -34,13 +37,31 @@ manylinux2010 :
- CI/script/build-unsio.sh - CI/script/build-unsio.sh
- CI/script/build-wheel.sh - CI/script/build-wheel.sh
- CI/script/repair-wheel.sh - CI/script/repair-wheel.sh
- /opt/python/cp37-cp37m/bin/python setup.py sdist -d wheel
- CI/script/test-unsio.sh - CI/script/test-unsio.sh
cache:
key: manylinux2010
paths:
- wheel/
artifacts: artifacts:
name: "manylinux2010" name: "manylinux2010"
paths: paths:
- test-*.res - test-*.res
- wheel/* - 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 # 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