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
Simon Perkins
ducc
Commits
18de9884
Commit
18de9884
authored
Feb 24, 2020
by
Martin Reinecke
Browse files
add basic CI capabilities
parent
2a1651f8
Changes
2
Show whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
0 → 100644
View file @
18de9884
image
:
$CONTAINER_TEST_IMAGE
variables
:
CONTAINER_TEST_IMAGE
:
gitlab-registry.mpcdf.mpg.de/$CI_PROJECT_PATH:$CI_BUILD_REF_NAME
OMP_NUM_THREADS
:
2
stages
:
-
build_docker
-
testing
build_docker
:
image
:
docker:stable
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_suite
:
stage
:
testing
script
:
-
cd pypocketfft
-
pip3 install --user .
-
pytest-3 -q test.py
Dockerfile
0 → 100644
View file @
18de9884
FROM
debian:testing-slim
RUN
apt-get update
&&
apt-get
install
-y
git python3-pip python3-pytest
&&
rm
-rf
/var/lib/apt/lists/
*
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