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
ift
NIFTy
Commits
6ed6b3bd
Commit
6ed6b3bd
authored
Apr 27, 2018
by
Philipp Arras
Browse files
Change
parent
52b9b944
Pipeline
#28204
passed with stage
in 5 minutes and 31 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
6ed6b3bd
...
...
@@ -2,56 +2,58 @@ image: parras/nifty:latest
stages
:
-
build_docker
-
test
-
release
#
- test
#
- release
variables
:
DOCKER_DRIVER
:
overlay
test_python2_scalar
:
stage
:
test
script
:
-
python setup.py install --user -f
-
nosetests -q --with-coverage --cover-package=nifty4 --cover-branches --cover-erase
-
>
coverage report | grep TOTAL | awk '{ print "TOTAL: "$6; }'
test_python3_scalar
:
stage
:
test
script
:
-
python3 setup.py install --user -f
-
nosetests3 -q
test_python2_mpi
:
stage
:
test
script
:
-
python setup.py install --user -f
-
OMP_NUM_THREADS=1 mpiexec -n 2 nosetests -q 2> /dev/null
test_python3_mpi
:
stage
:
test
script
:
-
python3 setup.py install --user -f
-
OMP_NUM_THREADS=1 mpiexec -n 2 nosetests3 -q 2> /dev/null
pages
:
stage
:
release
script
:
-
python setup.py install --user -f
-
sh docs/generate.sh
-
mv docs/build/ public/
artifacts
:
paths
:
-
public
only
:
-
NIFTy_4
DOCKER_DRIVER
:
overlay2
before_script
:
-
docker info
# test_python2_scalar:
# stage: test
# script:
# - python setup.py install --user -f
# - nosetests -q --with-coverage --cover-package=nifty4 --cover-branches --cover-erase
# - >
# coverage report | grep TOTAL | awk '{ print "TOTAL: "$6; }'
# test_python3_scalar:
# stage: test
# script:
# - python3 setup.py install --user -f
# - nosetests3 -q
# test_python2_mpi:
# stage: test
# script:
# - python setup.py install --user -f
# - OMP_NUM_THREADS=1 mpiexec -n 2 nosetests -q 2> /dev/null
# test_python3_mpi:
# stage: test
# script:
# - python3 setup.py install --user -f
# - OMP_NUM_THREADS=1 mpiexec -n 2 nosetests3 -q 2> /dev/null
# pages:
# stage: release
# script:
# - python setup.py install --user -f
# - sh docs/generate.sh
# - mv docs/build/ public/
# artifacts:
# paths:
# - public
# only:
# - NIFTy_4
services
:
-
docker:dind
build_docker_container
:
image
:
docker:
latest
image
:
docker:
stable
stage
:
build_docker
script
:
-
docker info
-
docker build -t nifty .
Write
Preview
Markdown
is supported
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