Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tomotools
Nabu
Commits
17bd6cb0
Commit
17bd6cb0
authored
Nov 25, 2019
by
Pierre Paleo
Browse files
Updates of .gitlab-ci.yml
parent
e9377654
Pipeline
#17608
failed with stages
in 48 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
17bd6cb0
stages
:
-
test
-
deploy
variables
:
http_proxy
:
http://proxy.esrf.fr:3128
https_proxy
:
http://proxy.esrf.fr:3128
no_proxy
:
.esrf.fr,localhost
#variables:
# no_proxy: .esrf.fr,localhost
.build_template
:
&test_linux_template
test
:
stage
:
test
image
:
docker-registry.esrf.fr/dau/tomwer:python3.5_stretch_pyqt5
before_script
:
-
arch
-
echo $HOME
-
unset HTTP_PROXY
-
unset HTTPS_PROXY
-
mkdir -p $HOME/.venv/py3
-
python -m venv $HOME/.venv/py3
-
source $HOME/.venv/py3/bin/activate
...
...
@@ -22,8 +23,10 @@ variables:
-
pip install --upgrade setuptools
-
pip install --upgrade numpy
script
:
-
pip install git+https://gitlab.esrf.fr/tomotools/tomoscan.git
-
python -m pip install .
-
nabu-test
# allow_failure: true
pages
:
stage
:
deploy
...
...
@@ -33,15 +36,15 @@ pages:
-
python -m venv $HOME/.venv/py3
-
source $HOME/.venv/py3/bin/activate
-
pip install --upgrade pip
-
pip install sphinx sphinx-corlab-theme nbsphinx recommonmark
-
pip install sphinx sphinx-corlab-theme nbsphinx recommonmark
numpy
script
:
-
cd doc
-
make html
-
mkdir .public
-
cp -rv _build/html/* .
public
/
-
mv .public
public
-
cd ..
-
mkdir
public
-
cp -rv doc/_build/html/*
public
/
artifacts
:
paths
:
-
doc/
public
-
public
only
:
-
master
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment