diff options
author | 2018-09-16 22:55:59 +0200 | |
---|---|---|
committer | 2018-09-16 22:55:59 +0200 | |
commit | 05e33c1f8f3d54b940b7935bab96ca0a8c45bf84 (patch) | |
tree | a6e9a53e7cc13cce303c26a0be7f737115995e74 /.gitlab-ci.yml | |
parent | Use proper key for formatter setting. (diff) |
Use sane package manager.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 22 |
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: |