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
ift
NIFTy
Commits
0ba1955a
Commit
0ba1955a
authored
Apr 27, 2018
by
Philipp Arras
Browse files
First time a test
parent
256fdfdb
Pipeline
#28213
failed with stages
in 6 minutes and 52 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
0ba1955a
image
:
parras/nifty:latest
image
:
docker:stable
stages
:
-
build_docker
#
- test
-
test
# - release
before_script
:
-
docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN gitlab-registry.mpcdf.mpg.de
-
docker info
variables
:
CONTAINER_TEST_IMAGE
:
gitlab-registry.mpcdf.mpg.de/ift/nifty:$CI_BUILD_REF_NAME
...
...
@@ -20,11 +19,11 @@ variables:
# - >
# coverage report | grep TOTAL | awk '{ print "TOTAL: "$6; }'
#
test_python3_scalar:
#
stage: test
#
script:
#
- python3 setup.py install --user -f
#
- nosetests3 -q
test_python3_scalar
:
stage
:
test
script
:
-
docker run $CONTAINER_TEST_IMAGE
python3 setup.py install --user -f
-
docker run $CONTAINER_TEST_IMAGE
nosetests3 -q
# test_python2_mpi:
# stage: test
...
...
@@ -54,7 +53,6 @@ services:
-
docker:dind
build_docker_container
:
image
:
docker:stable
stage
:
build_docker
script
:
-
docker build -t $CONTAINER_TEST_IMAGE .
...
...
Dockerfile
View file @
0ba1955a
...
...
@@ -14,4 +14,4 @@ RUN pip3 install parameterized coverage pyfftw git+https://gitlab.mpcdf.mpg.de/i
# Create user (openmpi does not like to be run as root)
RUN
useradd
-ms
/bin/bash testinguser
USER
testinguser
WORKDIR
/home/testinguser
WORKDIR
/home/testinguser
\ No newline at end of file
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