Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
tomwer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Jira
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tomotools
tomwer
Commits
8cfc5c56
Commit
8cfc5c56
authored
6 years ago
by
payno
Browse files
Options
Downloads
Patches
Plain Diff
[CI] fix ci
parent
6ae46bf5
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+43
-29
43 additions, 29 deletions
.gitlab-ci.yml
ci/install_scripts.sh
+12
-18
12 additions, 18 deletions
ci/install_scripts.sh
with
55 additions
and
47 deletions
.gitlab-ci.yml
+
43
−
29
View file @
8cfc5c56
test:python3.4-jessie-pyqt4
:
type
:
test
image
:
docker-registry.esrf.fr/dau/tomwer:python3.4-jessie-pyqt4
script
:
-
arch
-
find / -name "libgcc_s.so.1"
-
export LD_LIBRARY_PATH=/lib/i386-linux-gnu/:${LD_LIBRARY_PATH}
-
export LD_LIBRARY_PATH=/lib/x86_64-linux-gnu/:${LD_LIBRARY_PATH}
-
export ORANGE_WEB_LOG='False'
-
echo $LD_LIBRARY_PATH
-
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 matplotlib
-
source ./ci/install_scripts.sh
-
install_orange3 'master'
-
python -m pip install -r requirements.txt
-
python -m pip install .
-
python -m tomwer --help
-
/usr/bin/xvfb-run --server-args="-screen 0 1024x768x24" -a tomwer test -v
#test:python3.4-jessie-pyqt4:
# type: test
# image: docker-registry.esrf.fr/dau/tomwer:python3.4-jessie-pyqt4
# script:
# - arch
# - find / -name '*PyQt4*'
# - find / -name '*QtCore*'
# - find / -name 'Qt*so'
# - find / -name '*sip*so'
# - ln -s /usr/lib/python3/dist-packages/PyQt4 /usr/local/lib/python3.4/site-packages/
# - ln -s /usr/lib/python3/dist-packages/sip.so /usr/local/lib/python3.4/site-packages/
## - python3.4 -c 'import PyQt4; import PyQt4.QtCore'
## - python -c 'import PyQt4; import PyQt4.QtCore'
# - export LD_LIBRARY_PATH=/lib/i386-linux-gnu/:${LD_LIBRARY_PATH}
# - export LD_LIBRARY_PATH=/lib/x86_64-linux-gnu/:${LD_LIBRARY_PATH}
# - export PYTHONPATH="${PYTHONPATH}:/usr/lib/python3/dist-packages/PyQt4/"
# - export PYTHONPATH="${PYTHONPATH}:/usr/lib/python3/dist-packages/"
# - export PATH="${PATH}:/usr/lib/python3/dist-packages/PyQt4/"
# - export PATH="${PATH}:/usr/lib/python3/dist-packages/"
# - export ORANGE_WEB_LOG='False'
# - echo $LD_LIBRARY_PATH
# - 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 numpy --upgrade
# - python -m pip install matplotlib
# - source ./ci/install_scripts.sh
# - install_orange3 'master'
# - python -m pip install -r requirements.txt
# - python -m pip install .
# - python -m tomwer --help
# - /usr/bin/xvfb-run --server-args="-screen 0 1024x768x24" -a tomwer test -v
test:python3.
4-jessie
-pyqt5
:
test:python3.
5-stretch
-pyqt5
:
type
:
test
image
:
docker-registry.esrf.fr/dau/tomwer:python3.
4-jessie-
pyqt5
image
:
docker-registry.esrf.fr/dau/tomwer:python3.
5_stretch_
pyqt5
script
:
-
arch
-
find / -name "libgcc_s.so.1"
-
ls /usr/lib/python*
-
ls /usr/lib/python3/dist-packages/PyQt5
-
export PYTHONPATH="${PYTHONPATH}:/usr/lib/python3/dist-packages/"
-
export LD_LIBRARY_PATH=/lib/i386-linux-gnu/:${LD_LIBRARY_PATH}
-
export LD_LIBRARY_PATH=/lib/x86_64-linux-gnu/:${LD_LIBRARY_PATH}
-
export ORANGE_WEB_LOG='False'
...
...
@@ -37,7 +51,7 @@ test:python3.4-jessie-pyqt5:
-
python --version
-
python -m pip install pip --upgrade
-
python -m pip install setuptools --upgrade
-
python -m pip install
PyQt5==5.10.1
-
python -m pip install
numpy --upgrade
-
python -m pip install matplotlib
-
source ./ci/install_scripts.sh
-
install_orange3 'master'
...
...
@@ -50,10 +64,9 @@ test:python3.4-jessie-pyqt5:
test:python3.7-stretch-pyside2
:
type
:
test
image
:
docker-registry.esrf.fr/dau/tomwer:python3.7
-
stretch
image
:
docker-registry.esrf.fr/dau/tomwer:python3.7
_
stretch
script
:
-
arch
-
find / -name "libgcc_s.so.1"
-
export LD_LIBRARY_PATH=/lib/i386-linux-gnu/:${LD_LIBRARY_PATH}
-
export LD_LIBRARY_PATH=/lib/x86_64-linux-gnu/:${LD_LIBRARY_PATH}
-
export ORANGE_WEB_LOG='False'
...
...
@@ -63,8 +76,9 @@ test:python3.7-stretch-pyside2:
-
python --version
-
python -m pip install pip --upgrade
-
python -m pip install setuptools --upgrade
-
python -m pip install
matplotlib
-
python -m pip install
numpy --upgrade
-
python -m pip install PySide2
-
python -m pip install matplotlib
-
source ./ci/install_scripts.sh
-
install_orange3 'master'
-
install_anyqt 'master'
...
...
This diff is collapsed.
Click to expand it.
ci/install_scripts.sh
+
12
−
18
View file @
8cfc5c56
...
...
@@ -7,8 +7,6 @@ function install_silx(){
else
unset
http_proxy
unset
https_proxy
mkdir
freeart
cd
freeart
git clone https://github.com/silx-kit/silx.git
cd
silx
pip
install
mako
...
...
@@ -27,19 +25,16 @@ function silx_version(){
function
install_orange3
(){
if
[
"
$2
"
=
'master'
]
;
then
unset
http_proxy
unset
https_proxy
mkdir
freeart
cd
freeart
git clone https://github.com/payno/orange3.git
cd
orange3
pip
install
-r
requirements.txt
pip
install
.
export
http_proxy
=
http://proxy.esrf.fr:3128/
export
https_proxy
=
http://proxy.esrf.fr:3128/
fi
unset
http_proxy
unset
https_proxy
git clone https://github.com/payno/orange3.git
cd
orange3
git checkout
$2
pip
install
-r
requirements-core.txt
pip
install
.
cd
..
export
http_proxy
=
http://proxy.esrf.fr:3128/
export
https_proxy
=
http://proxy.esrf.fr:3128/
}
...
...
@@ -48,11 +43,10 @@ function install_anyqt(){
if
[
"
$2
"
=
'master'
]
;
then
unset
http_proxy
unset
https_proxy
mkdir
anyqt
cd
anyqt
git clone https://github.com/ales-erjavec/anyqt.git
cd
orange3
cd
anyqt
pip
install
.
cd
..
export
http_proxy
=
http://proxy.esrf.fr:3128/
export
https_proxy
=
http://proxy.esrf.fr:3128/
fi
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment