Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
NIFTy
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
13
Issues
13
List
Boards
Labels
Service Desk
Milestones
Merge Requests
9
Merge Requests
9
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ift
NIFTy
Commits
48651226
Commit
48651226
authored
Apr 27, 2018
by
Philipp Arras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
First full test
parent
70aa7b98
Pipeline
#28223
canceled with stages
in 12 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
38 additions
and
41 deletions
+38
-41
.gitlab-ci.yml
.gitlab-ci.yml
+38
-41
No files found.
.gitlab-ci.yml
View file @
48651226
...
...
@@ -7,27 +7,24 @@ variables:
CONTAINER_TEST_IMAGE
:
gitlab-registry.mpcdf.mpg.de/ift/nifty:$CI_BUILD_REF_NAME
stages
:
#
- build_docker
-
build_docker
-
test
# - release
# before_script:
# - docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN gitlab-registry.mpcdf.mpg.de
# build_docker:
# stage: build_docker
# script:
# - docker build -t $CONTAINER_TEST_IMAGE .
# - docker push $CONTAINER_TEST_IMAGE
-
release
build_docker
:
stage
:
build_docker
script
:
-
docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN gitlab-registry.mpcdf.mpg.de
-
docker build -t $CONTAINER_TEST_IMAGE .
-
docker push $CONTAINER_TEST_IMAGE
#
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_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
:
image
:
$CONTAINER_TEST_IMAGE
...
...
@@ -36,27 +33,27 @@ test_python3_scalar:
-
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
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
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