Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
silx
bob
silx
Commits
6783e64c
Commit
6783e64c
authored
Jan 09, 2020
by
Thomas Vincent
Browse files
Remove python 2, change manylinux 2010 to 2014, remove Qt tests (failing) on Windows
parent
c770db7a
Pipeline
#19204
passed with stages
in 62 minutes and 6 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
6783e64c
...
...
@@ -12,7 +12,7 @@ stages:
variables
:
PROJECT
:
silx
REPOSITORY
:
https://github.com/silx-kit/silx
MANYLINUX_PYTHON_VER
:
cp27-cp27m cp27-cp27mu
cp35-cp35m cp36-cp36m cp37-cp37m cp38-cp38
MANYLINUX_PYTHON_VER
:
cp35-cp35m cp36-cp36m cp37-cp37m cp38-cp38
SILX_OPENCL
:
"
False"
EXTRA_SETUP_PY_CMD_OPTIONS
:
"
build
--no-openmp"
...
...
@@ -24,13 +24,10 @@ source:
manylinux1_wheels
:
extends
:
.manylinux1_wheels
manylinux201
0
_wheels
:
extends
:
.manylinux201
0
_wheels
manylinux201
4
_wheels
:
extends
:
.manylinux201
4
_wheels
windows_wheel_python27
:
extends
:
.windows_wheel_python27
windows_wheel_python36
:
extends
:
.windows_wheel_python36
...
...
@@ -49,9 +46,6 @@ debian10:
extends
:
.debian10
macos_wheel_python27
:
extends
:
.macos_wheel_python27
macos_wheel_python35
:
extends
:
.macos_wheel_python35
...
...
@@ -67,10 +61,10 @@ macos_wheel_python38:
# Test
.test_template
:
&test_template_defintion
.test_
noqt_
template
:
&test_
noqt_
template_defintion
stage
:
test
variables
:
WITH_
GL
_TEST
:
"
False"
WITH_
QT
_TEST
:
"
False"
script
:
# Install pyopencl build dependencies first
-
pip install numpy pybind11
...
...
@@ -78,70 +72,67 @@ macos_wheel_python38:
-
pip install --find-links http://www.silx.org/pub/wheelhouse/ --trusted-host www.silx.org --prefer-binary pyopencl
-
pip install --pre --find-links artifacts/ --only-binary silx silx[full]
-
python -c "import silx.test, sys; sys.exit(silx.test.run_tests());"
-
pip uninstall -y PyQt5
-
pip install PySide2
-
python -c "import silx.test, sys; sys.exit(silx.test.run_tests());"
windows_test_python36
:
<<
:
*test_template_defintion
<<
:
*test_
noqt_
template_defintion
extends
:
.windows_base_python36
dependencies
:
-
windows_wheel_python36
allow_failure
:
true
windows_test_python37
:
<<
:
*test_template_defintion
<<
:
*test_
noqt_
template_defintion
extends
:
.windows_base_python37
dependencies
:
-
windows_wheel_python37
allow_failure
:
true
windows_test_python38
:
<<
:
*test_template_defintion
<<
:
*test_
noqt_
template_defintion
extends
:
.windows_base_python38
dependencies
:
-
windows_wheel_python38
allow_failure
:
true
macos_test_python35
:
<<
:
*test_template_defintion
extends
:
.macos_base
<<
:
*test_
noqt_
template_defintion
extends
:
.macos_base
_python35
dependencies
:
-
macos_wheel_python35
variables
:
PYTHON_VER
:
"
3.5"
WITH_QT_TEST
:
"
False"
macos_test_python36
:
<<
:
*test_template_defintion
extends
:
.macos_base
<<
:
*test_
noqt_
template_defintion
extends
:
.macos_base
_python36
dependencies
:
-
macos_wheel_python36
variables
:
PYTHON_VER
:
"
3.6"
WITH_QT_TEST
:
"
False"
macos_test_python37
:
<<
:
*test_template_defintion
extends
:
.macos_base
<<
:
*test_
noqt_
template_defintion
extends
:
.macos_base
_python37
dependencies
:
-
macos_wheel_python37
variables
:
PYTHON_VER
:
"
3.7"
WITH_QT_TEST
:
"
False"
macos_test_python38
:
<<
:
*test_template_defintion
extends
:
.macos_base
<<
:
*test_
noqt_
template_defintion
extends
:
.macos_base
_python38
dependencies
:
-
macos_wheel_python38
variables
:
PYTHON_VER
:
"
3.8"
WITH_QT_TEST
:
"
False"
.test_template
:
&test_template_defintion
stage
:
test
variables
:
WITH_GL_TEST
:
"
False"
script
:
# Install pyopencl build dependencies first
-
pip install numpy pybind11
# Install pyopencl first to use a wheel from silx.org under Windows
-
pip install --find-links http://www.silx.org/pub/wheelhouse/ --trusted-host www.silx.org --prefer-binary pyopencl
-
pip install --pre --find-links artifacts/ --only-binary silx silx[full]
-
python -c "import silx.test, sys; sys.exit(silx.test.run_tests());"
-
pip uninstall -y PyQt5
-
pip install PySide2
-
python -c "import silx.test, sys; sys.exit(silx.test.run_tests());"
manylinux1_test_cp35
:
<<
:
*test_template_defintion
extends
:
.manylinux2014_cp35_base
...
...
@@ -167,29 +158,29 @@ manylinux1_test_cp38:
-
manylinux1_wheels
manylinux201
0
_test_cp35
:
manylinux201
4
_test_cp35
:
<<
:
*test_template_defintion
extends
:
.manylinux2014_cp35_base
dependencies
:
-
manylinux201
0
_wheels
-
manylinux201
4
_wheels
manylinux201
0
_test_cp36
:
manylinux201
4
_test_cp36
:
<<
:
*test_template_defintion
extends
:
.manylinux2014_cp36_base
dependencies
:
-
manylinux201
0
_wheels
-
manylinux201
4
_wheels
manylinux201
0
_test_cp37
:
manylinux201
4
_test_cp37
:
<<
:
*test_template_defintion
extends
:
.manylinux2014_cp37_base
dependencies
:
-
manylinux201
0
_wheels
-
manylinux201
4
_wheels
manylinux201
0
_test_cp38
:
manylinux201
4
_test_cp38
:
<<
:
*test_template_defintion
extends
:
.manylinux2014_cp38_base
dependencies
:
-
manylinux201
0
_wheels
-
manylinux201
4
_wheels
# Deploy
...
...
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