From fe630ef0cfc1671a474120e94c642ea2e8bdae5e Mon Sep 17 00:00:00 2001 From: Johannes Christ Date: Sun, 16 Sep 2018 23:30:28 +0200 Subject: Fix up CI. --- .gitlab-ci.yml | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) (limited to '.gitlab-ci.yml') diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5a615a93..90185356 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,11 +3,6 @@ stages: - test - deploy image: python:3.7-alpine -variables: - PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache" -cache: - paths: - - .cache .test-template: &test-template stage: test @@ -27,7 +22,7 @@ lint: stage: lint before_script: - apk add python3-dev git libpq postgresql-dev gcc cmake autoconf automake musl-dev - - python3 -m pip install .[lint] + - python3 -m pip install --no-cache-dir .[lint] script: - flake8 tags: @@ -38,7 +33,7 @@ test-3.7-alpine: image: python:3.7-alpine before_script: - apk add python3-dev git libpq postgresql-dev gcc cmake autoconf automake musl-dev - - python3 -m pip install .[test] + - python3 -m pip install --no-cache-dir .[test] - python manage.py migrate script: - coverage run --source=api,home,pysite,wiki --branch manage.py test @@ -53,7 +48,7 @@ test-3.6-alpine: image: python:3.6-alpine before_script: - apk add git libpq postgresql-dev gcc cmake autoconf automake musl-dev - - python3 -m pip install .[test] + - python3 -m pip install --no-cache-dir .[test] - python manage.py migrate test-3.7-stretch: @@ -64,7 +59,7 @@ test-3.7-stretch: before_script: - apt-get update -y - apt-get install -y git libpq-dev gcc cmake autoconf automake libc-dev - - python3 -m pip install .[test] + - python3 -m pip install --no-cache-dir .[test] - python manage.py migrate test-3.6-stretch: @@ -75,7 +70,7 @@ test-3.6-stretch: before_script: - apt-get update -y - apt-get install -y git libpq-dev gcc cmake autoconf automake libc-dev - - python3 -m pip install .[test] + - python3 -m pip install --no-cache-dir .[test] - python manage.py migrate pages: -- cgit v1.2.3