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
87ad29c4
Commit
87ad29c4
authored
Aug 31, 2017
by
Martin Reinecke
Browse files
adjust CI
parent
de0c9653
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
87ad29c4
...
...
@@ -2,12 +2,9 @@ image: ubuntu:latest
stages
:
-
test
-
release
variables
:
DOCKER_DRIVER
:
overlay
RELEASE_IMAGE_MASTER
:
iftmpa/nifty:dev
RELEASE_IMAGE_TAGGED
:
iftmpa/nifty:$CI_BUILD_TAG
before_script
:
-
apt-get update
...
...
@@ -18,67 +15,12 @@ before_script:
test_min
:
stage
:
test
script
:
-
nosetests -vv
-
nosetests3 -vv
test_mpi
:
stage
:
test
script
:
-
ci/install_pyHealpix.sh
-
ci/install_mpi4py.sh
-
nosetests -vv
-
nosetests3 -vv
test_mpi_fftw
:
stage
:
test
script
:
-
ci/install_pyHealpix.sh
-
ci/install_mpi4py.sh
-
ci/install_pyfftw.sh
-
nosetests -vv
-
nosetests3 -vv
test_mpi_fftw_hdf5
:
stage
:
test
script
:
-
ci/install_pyHealpix.sh
-
ci/install_mpi4py.sh
-
ci/install_pyfftw.sh
-
ci/install_h5py.sh
-
mpiexec --allow-run-as-root -n 2 nosetests -x
-
mpiexec --allow-run-as-root -n 2 nosetests3 -x
-
mpiexec --allow-run-as-root -n 4 nosetests -x
-
mpiexec --allow-run-as-root -n 4 nosetests3 -x
-
nosetests
-
nosetests3
-
nosetests -x --with-coverage --cover-package=nifty --cover-branches
-
>
coverage report | grep TOTAL | awk '{ print "TOTAL: "$6; }'
release_image_master
:
image
:
docker:latest
stage
:
release
before_script
:
-
pwd
services
:
-
docker:dind
script
:
-
docker login -u $DOCKER_HUB_USERNAME -p $DOCKER_HUB_PASSWORD
-
docker build -t $RELEASE_IMAGE_MASTER .
-
docker push $RELEASE_IMAGE_MASTER
only
:
-
master
release_image_tagged
:
image
:
docker:latest
stage
:
release
before_script
:
-
pwd
services
:
-
docker:dind
script
:
-
docker login -u $DOCKER_HUB_USERNAME -p $DOCKER_HUB_PASSWORD
-
docker build -t $RELEASE_IMAGE_TAGGED .
-
docker push $RELEASE_IMAGE_TAGGED
only
:
-
tags
Write
Preview
Supports
Markdown
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