Commit 15a49245 authored by Philipp Arras's avatar Philipp Arras

Fixup

parent 26811290
...@@ -15,6 +15,8 @@ build_docker_from_scratch: ...@@ -15,6 +15,8 @@ build_docker_from_scratch:
- schedules - schedules
image: docker:stable image: docker:stable
stage: build_docker stage: build_docker
before_script:
- ls
script: script:
- docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN gitlab-registry.mpcdf.mpg.de - docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN gitlab-registry.mpcdf.mpg.de
- docker build -t $CONTAINER_TEST_IMAGE --no-cache . - docker build -t $CONTAINER_TEST_IMAGE --no-cache .
...@@ -25,6 +27,8 @@ build_docker_from_cache: ...@@ -25,6 +27,8 @@ build_docker_from_cache:
- schedules - schedules
image: docker:stable image: docker:stable
stage: build_docker stage: build_docker
before_script:
- ls
script: script:
- docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN gitlab-registry.mpcdf.mpg.de - docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN gitlab-registry.mpcdf.mpg.de
- docker build -t $CONTAINER_TEST_IMAGE . - docker build -t $CONTAINER_TEST_IMAGE .
...@@ -33,7 +37,6 @@ build_docker_from_cache: ...@@ -33,7 +37,6 @@ build_docker_from_cache:
test_python2_with_coverage: test_python2_with_coverage:
stage: test stage: test
script: script:
- python setup.py install --user -f
- mpiexec -n 2 --bind-to none nosetests -q 2> /dev/null - mpiexec -n 2 --bind-to none nosetests -q 2> /dev/null
- nosetests -q --with-coverage --cover-package=nifty5 --cover-erase - nosetests -q --with-coverage --cover-package=nifty5 --cover-erase
- > - >
...@@ -44,12 +47,13 @@ test_python2_with_coverage: ...@@ -44,12 +47,13 @@ test_python2_with_coverage:
test_python3: test_python3:
stage: test stage: test
script: script:
- python3 setup.py install --user -f
- nosetests3 -q - nosetests3 -q
- mpiexec -n 2 --bind-to none nosetests3 -q 2> /dev/null - mpiexec -n 2 --bind-to none nosetests3 -q 2> /dev/null
pages: pages:
stage: release stage: release
before_script:
- ls
script: script:
- python setup.py install --user -f - python setup.py install --user -f
- sh docs/generate.sh - sh docs/generate.sh
...@@ -62,12 +66,12 @@ pages: ...@@ -62,12 +66,12 @@ pages:
before_script: before_script:
- export MPLBACKEND="agg" - export MPLBACKEND="agg"
- python setup.py install --user -f
- python3 setup.py install --user -f
run_ipynb: run_ipynb:
stage: demo_runs stage: demo_runs
script: script:
- python setup.py install --user -f
- python3 setup.py install --user -f
- jupyter nbconvert --execute --ExecutePreprocessor.timeout=None demos/Wiener_Filter.ipynb - jupyter nbconvert --execute --ExecutePreprocessor.timeout=None demos/Wiener_Filter.ipynb
artifacts: artifacts:
paths: paths:
......
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