aboutsummaryrefslogtreecommitdiffstats
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorGravatar Johannes Christ <[email protected]>2018-09-16 22:55:59 +0200
committerGravatar Johannes Christ <[email protected]>2018-09-16 22:55:59 +0200
commit05e33c1f8f3d54b940b7935bab96ca0a8c45bf84 (patch)
treea6e9a53e7cc13cce303c26a0be7f737115995e74 /.gitlab-ci.yml
parentUse proper key for formatter setting. (diff)
Use sane package manager.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml22
1 files changed, 13 insertions, 9 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index b4f6d693..ccf27e35 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -35,7 +35,7 @@ lint:
stage: lint
before_script:
- apk add python3-dev git libpq postgresql-dev gcc cmake autoconf automake musl-dev
- - python3 -m pip install pipenv
+ - python3 -m pip install poetry
- pipenv install --dev --system
script:
- flake8
@@ -47,8 +47,9 @@ 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 pipenv
- - pipenv install --dev --system
+ - python3 -m pip install poetry
+ - poetry config settings.virtualenvs.in-project true
+ - poetry install
- python manage.py migrate
script:
- coverage run --source=api,home,pysite,wiki --branch manage.py test
@@ -63,8 +64,9 @@ test-3.6-alpine:
image: python:3.6-alpine
before_script:
- apk add python3-dev git libpq postgresql-dev gcc cmake autoconf automake musl-dev
- - python3 -m pip install pipenv
- - pipenv install --system
+ - python3 -m pip install poetry
+ - poetry config settings.virtualenvs.in-project true
+ - poetry install
- python manage.py migrate
test-3.7-stretch:
@@ -75,8 +77,9 @@ test-3.7-stretch:
before_script:
- apt-get update -y
- apt-get install -y libpython3-dev git libpq-dev gcc cmake autoconf automake libc-dev
- - python3 -m pip install pipenv
- - pipenv install --system
+ - python3 -m pip install poetry
+ - poetry config settings.virtualenvs.in-project true
+ - poetry install
- python manage.py migrate
test-3.6-stretch:
@@ -87,8 +90,9 @@ test-3.6-stretch:
before_script:
- apt-get update -y
- apt-get install -y libpython3-dev git libpq-dev gcc cmake autoconf automake libc-dev
- - python3 -m pip install pipenv
- - pipenv install --system
+ - python3 -m pip install poetry
+ - poetry config settings.virtualenvs.in-project true
+ - poetry install
- python manage.py migrate
pages: