Install libpq-dev
package for gunicorn and django checks
Because we're using `django.contrib.postgres`, `psycopg2` must be importable
This commit is contained in:
parent
8e3bb2a9c8
commit
ef20d9c695
1 changed files with 2 additions and 0 deletions
|
@ -79,6 +79,7 @@ test_python:
|
||||||
django_checks:
|
django_checks:
|
||||||
extends: .python_test_template
|
extends: .python_test_template
|
||||||
script:
|
script:
|
||||||
|
- apt-get update && apt-get install --yes libpq-dev
|
||||||
- ./manage.py check
|
- ./manage.py check
|
||||||
- ./manage.py makemigrations --check --noinput
|
- ./manage.py makemigrations --check --noinput
|
||||||
|
|
||||||
|
@ -110,6 +111,7 @@ djlint:
|
||||||
gunicorn_check:
|
gunicorn_check:
|
||||||
extends: .python_test_template
|
extends: .python_test_template
|
||||||
script:
|
script:
|
||||||
|
- apt-get update && apt-get install --yes libpq-dev
|
||||||
- gunicorn --check-config --config etc/gunicorn.conf.py
|
- gunicorn --check-config --config etc/gunicorn.conf.py
|
||||||
|
|
||||||
npm_lint:
|
npm_lint:
|
||||||
|
|
Loading…
Reference in a new issue