Commit 5ca5a1c8 authored by Fabrice  ALLAIN's avatar Fabrice ALLAIN
Browse files

Update .gitlab-ci.yml

parent 8eba464f
......@@ -19,6 +19,8 @@ build:
- docker login -u gitlab-ci-token -p "$CI_JOB_TOKEN" registry-gitlab.pasteur.fr
- docker build --pull -t "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_NAME" .
- docker push "$CI_REGISTRY_IMAGE:$CI_BUILD_REF_NAME"
only:
- master
pytest:
image: registry-gitlab.pasteur.fr/bis-aria/ariaec:$CI_COMMIT_REF_NAME
......@@ -37,7 +39,9 @@ coverage:
artifacts:
paths:
- htmlcov/
only:
- master
pages:
image: registry-gitlab.pasteur.fr/bis-aria/ariaec:$CI_BUILD_REF_NAME
stage: deploy
......@@ -52,6 +56,8 @@ pages:
artifacts:
paths:
- public
only:
- master
cleanup_pypirc:
stage: cleanup
......@@ -66,8 +72,10 @@ deliver:
only:
- master
script:
- semantic-delivery-gitlab --token ${SEMANTIC_DELIVER_TOKEN}
- semantic-delivery-gitlab --token $SEMANTIC_TOKEN
stage: deliver
# deploy_pypi:
# stage: deploy
# script: # Configure the PyPI credentials, then push the package, and cleanup the creds.
......
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