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
adca53e0
Commit
adca53e0
authored
Nov 25, 2019
by
Pierre Paleo
Browse files
Add .gitlab-ci.yml
parent
2a6341d4
Pipeline
#17562
failed
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
0 → 100644
View file @
adca53e0
stages
:
-
deploy
variables
:
http_proxy
:
http://proxy.esrf.fr:3128
https_proxy
:
http://proxy.esrf.fr:3128
no_proxy
:
.esrf.fr,localhost
.build_template
:
&test_linux_template
stage
:
test
before_script
:
-
arch
-
mkdir -p $HOME/.venv/py35
-
python3 -m venv $HOME/.venv/py35
-
source $HOME/.venv/py35/bin/activate
-
python --version
-
which python
-
pip install --upgrade pip
-
pip install --upgrade setuptools
-
pip install --upgrade numpy
script
:
-
python -m pip install .
-
nabu-test
pages
:
stage
:
deploy
before_script
:
-
script
:
-
mkdir -p $HOME/.venv/py35
-
python3 -m venv $HOME/.venv/py35
-
source $HOME/.venv/py35/bin/activate
-
pip install --upgrade pip
-
pip install sphinx
-
cd doc
-
make html
-
mkdir .public
-
cp -r _build/html/* .public
-
mv .public public
artifacts
:
paths
:
-
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