diff options
author | 2018-08-30 21:54:42 +0200 | |
---|---|---|
committer | 2018-08-30 21:54:42 +0200 | |
commit | 2f252bc12c5ddb5acb3132b1bd851fd2dd641f03 (patch) | |
tree | 8c6e0c238e25225fd55da0f99bb3aedcb9847aae | |
parent | Add coverage reports. (diff) |
Always upload cov reports, add pipenv cache.
-rw-r--r-- | .gitlab-ci.yml | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index cec84074..5389495a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -4,6 +4,13 @@ stages: - test - deploy +cache: + paths: + - .cache/ + +variables: + PIPENV_CACHE_DIR: "$CI_PROJECT_DIR/.cache" + build base image: image: docker:stable-git stage: build @@ -19,7 +26,7 @@ lint: image: registry.gitlab.com/python-discord/projects/site/django-base:latest stage: lint script: - - pipenv install --dev --system + - pipenv install --dev - flake8 test: @@ -56,7 +63,3 @@ pages: paths: - public expire_in: 30 days - only: - - master - - django - - django+add-gitlab-ci |