...
 
Commits (5)
# TODO: have at least one unit test with the lastest version of freeart to insure compatibility
# do the same for the different silx versions
test:debian.8-python2.7-silx0.8-PySide2-latest_freeartrelease:
type: test
image: docker-registry.esrf.fr/dau/opengl:python2.7-jessie
script:
- export http_proxy=http://proxy.esrf.fr:3128/
- export https_proxy=http://proxy.esrf.fr:3128/
- python --version
- python -m pip install pip --upgrade
- python -m pip install setuptools --upgrade
- python -m pip install PySide2
- python -m pip install silx
- python -m pip install matplotlib
- source ./ci/tomogui_install.sh
- install_freeart 'master'
- freeart_version
- python -m pip install .
- xvfb-run --server-args="-screen 0 1024x768x24" -a tomogui test -v
#
#test:debian.8-python3.4-silx0.8-PySide2-freeartmaster:
# type: test
# image: docker-registry.esrf.fr/dau/opengl:python3.4-jessie
# script:
# - export http_proxy=http://proxy.esrf.fr:3128/
# - export https_proxy=http://proxy.esrf.fr:3128/
# - python --version
# - pip install pip --upgrade
# - pip install setuptools --upgrade
# - pip install PyQt5
# - pip install silx
# - pip install matplotlib
# - source ./ci/tomogui_install.sh
# - install_freeart 'master'
# - pip install .
# - xvfb-run --server-args="-screen 0 1024x768x24" -a tomogui test -v
test:debian.9-python3.5-silx0.8-PyQt5-freeartmaster:
test:with_freeartmaster:
type: test
image: docker-registry.esrf.fr/dau/opengl:python3.5-stretch
image: docker-registry.esrf.fr/dau/tomwer:python3.5_stretch_pyqt5
script:
- export http_proxy=http://proxy.esrf.fr:3128/
- export https_proxy=http://proxy.esrf.fr:3128/
- python --version
- python -m pip install pip --upgrade
- python -m pip install setuptools --upgrade
- python -m pip install PyQt5
- pip install numpy --upgrade
- python -m pip install PyQt5 --upgrade
- python -m pip install matplotlib
- python -m pip install -r requirements.txt
- python -m pip install -r requirements.txt --upgrade
- source ./ci/tomogui_install.sh
- install_freeart 'master'
- freeart_version
- python -m pip install .
- xvfb-run --server-args="-screen 0 1024x768x24" -a tomogui test -v
# TODO: add this, but require opencl at least installed and configure...
#test:debian.9-python3.5-silx0.8-PyQt5-nofreeart:
# type: test
# image: docker-registry.esrf.fr/dau/opengl:python3.5-stretch
# script:
# - export http_proxy=http://proxy.esrf.fr:3128/
# - export https_proxy=http://proxy.esrf.fr:3128/
# - python --version
# - pip install pip --upgrade
# - pip install setuptools --upgrade
# - pip install PyQt5
# - pip install matplotlib
# - pip install -r requirements.txt
# - pip install .
# - xvfb-run --server-args="-screen 0 1024x768x24" -a tomogui test -v
test:debian.9-python3.5-silx0.8-PyQt5-freeart3.3.0:
test:with_freeart3.3.1:
type: test
image: docker-registry.esrf.fr/dau/opengl:python3.5-stretch
image: docker-registry.esrf.fr/dau/tomwer:python3.5_stretch_pyqt5
script:
- export http_proxy=http://proxy.esrf.fr:3128/
- export https_proxy=http://proxy.esrf.fr:3128/
- python --version
- python -m pip install pip --upgrade
- python -m pip install setuptools --upgrade
- python -m pip install PyQt5
- pip install numpy --upgrade
- python -m pip install PyQt5 --upgrade
- python -m pip install matplotlib
- python -m pip install -r requirements.txt
- python -m pip install -r requirements.txt --upgrade
- source ./ci/tomogui_install.sh
- python -m pip install freeart==3.3.0
- install_freeart '3.3.1'
- freeart_version
- python -m pip install .
- xvfb-run --server-args="-screen 0 1024x768x24" -a tomogui test -v
......@@ -9,11 +9,13 @@ function install_freeart(){
unset https_proxy
mkdir freeart
cd freeart
wget https://gitlab.esrf.fr/freeart/freeart/repository/master/archive.tar
wget https://gitlab.esrf.fr/freeart/freeart/repository/"$2"/archive.tar
tar -xvf archive.tar
rm archive.tar
cd ./*
python -m pip install -r requirements.txt
# fix: don't know why but the 0.29 version bring lost of the Geometry.cpp path
python -m pip install Cython==0.28
python -m pip install -r requirements.txt --upgrade
python -m pip install .
cd ../../
export http_proxy=http://proxy.esrf.fr:3128/
......
......@@ -48,7 +48,10 @@ import tomogui.gui.ProjectWidget as QFreeARTWidget
from tomogui.gui.reconstruction.ReconsManager import ReconsManagerWindow
from tomogui.configuration import config as tomoguiconfig
from silx.gui import qt
from silx.gui.test.utils import TestCaseQt
try:
from silx.gui.utils.testutils import TestCaseQt
except:
from silx.gui.test.utils import TestCaseQt
import numpy
import tempfile
import os
......
......@@ -40,7 +40,7 @@ import silx.io.url
from silx.gui import qt
from silx.gui.hdf5.Hdf5TreeModel import Hdf5TreeModel
from . import utils
from silx.third_party import six
import six
from .FileTypeComboBox import FileTypeComboBox
try:
import fabio
......