aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Johannes Christ <[email protected]>2018-11-06 19:25:26 +0100
committerGravatar Johannes Christ <[email protected]>2018-11-06 19:25:26 +0100
commitae5c2ab3b1bd36c8c8cd137d977e0265ccd9818e (patch)
treef339913004b7ccf0eb784f9b1a7ba27acc699394
parentInstall `flake8` before linting. (diff)
Install `postgresql-dev` for `psycopg2`.
-rw-r--r--.gitlab-ci.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 75f00d4d..a7621236 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -57,6 +57,7 @@ test-3.7-alpine:
<<: *test-template
image: python:3.7-alpine
before_script:
+ - apk add --no-cache-dir postgresql-dev
- python -m pip install -e .[test]
- python manage.py migrate
script:
@@ -70,6 +71,10 @@ test-3.7-alpine:
test-3.6-alpine:
<<: *test-template
image: python:3.6-alpine
+ before_script:
+ - apk add --no-cache-dir postgresql-dev
+ - python -m pip install -e .[test]
+ - python manage.py migrate
test-3.7-stretch:
<<: *test-template