Commit 6ed6b3bd authored by Philipp Arras's avatar Philipp Arras

Change

parent 52b9b944
Pipeline #28204 passed with stage
in 5 minutes and 31 seconds
...@@ -2,56 +2,58 @@ image: parras/nifty:latest ...@@ -2,56 +2,58 @@ image: parras/nifty:latest
stages: stages:
- build_docker - build_docker
- test # - test
- release # - release
variables: variables:
DOCKER_DRIVER: overlay DOCKER_DRIVER: overlay2
test_python2_scalar: before_script:
stage: test - docker info
script:
- python setup.py install --user -f # test_python2_scalar:
- nosetests -q --with-coverage --cover-package=nifty4 --cover-branches --cover-erase # stage: test
- > # script:
coverage report | grep TOTAL | awk '{ print "TOTAL: "$6; }' # - python setup.py install --user -f
# - nosetests -q --with-coverage --cover-package=nifty4 --cover-branches --cover-erase
test_python3_scalar: # - >
stage: test # coverage report | grep TOTAL | awk '{ print "TOTAL: "$6; }'
script:
- python3 setup.py install --user -f # test_python3_scalar:
- nosetests3 -q # stage: test
# script:
test_python2_mpi: # - python3 setup.py install --user -f
stage: test # - nosetests3 -q
script:
- python setup.py install --user -f # test_python2_mpi:
- OMP_NUM_THREADS=1 mpiexec -n 2 nosetests -q 2> /dev/null # stage: test
# script:
test_python3_mpi: # - python setup.py install --user -f
stage: test # - OMP_NUM_THREADS=1 mpiexec -n 2 nosetests -q 2> /dev/null
script:
- python3 setup.py install --user -f # test_python3_mpi:
- OMP_NUM_THREADS=1 mpiexec -n 2 nosetests3 -q 2> /dev/null # stage: test
# script:
pages: # - python3 setup.py install --user -f
stage: release # - OMP_NUM_THREADS=1 mpiexec -n 2 nosetests3 -q 2> /dev/null
script:
- python setup.py install --user -f # pages:
- sh docs/generate.sh # stage: release
- mv docs/build/ public/ # script:
artifacts: # - python setup.py install --user -f
paths: # - sh docs/generate.sh
- public # - mv docs/build/ public/
only: # artifacts:
- NIFTy_4 # paths:
# - public
# only:
# - NIFTy_4
services: services:
- docker:dind - docker:dind
build_docker_container: build_docker_container:
image: docker:latest image: docker:stable
stage: build_docker stage: build_docker
script: script:
- docker info
- docker build -t nifty . - docker build -t nifty .
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment