From 2f252bc12c5ddb5acb3132b1bd851fd2dd641f03 Mon Sep 17 00:00:00 2001 From: Johannes Christ Date: Thu, 30 Aug 2018 21:54:42 +0200 Subject: Always upload cov reports, add pipenv cache. --- .gitlab-ci.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to '.gitlab-ci.yml') 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 -- cgit v1.2.3