diff --git a/debian/changelog b/debian/changelog
index 679391a2fc06dc81539ae65af29a7dcf196f1a74..4711992c538106468e1809372f30b10ee35c0cb9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,6 @@
 postgresql-common (202) UNRELEASED; urgency=medium
 
-  * gitlab/gitlab-ci.yml: Run blhc.
+  * gitlab/gitlab-ci.yml: Run blhc; fail on lintian errors.
 
  -- Christoph Berg <myon@debian.org>  Fri, 07 Jun 2019 14:46:05 +0200
 
diff --git a/gitlab/gitlab-ci.yml b/gitlab/gitlab-ci.yml
index 2a746794b49ae2a722b04f1a9ea67804ca646d62..976ace61802c9a8956d2074f46556fe9e47d3461 100644
--- a/gitlab/gitlab-ci.yml
+++ b/gitlab/gitlab-ci.yml
@@ -40,7 +40,7 @@ build:unstable: { <<: *build, image: 'debian:sid' }
     - apt-get -q update
     - apt-get -y --no-install-recommends install lintian
   script:
-    - lintian --info --display-info deb/*.changes 2>&1 | tee lintian.log
+    - bash -c 'set -o pipefail; lintian --info --display-info deb/*.changes 2>&1 | tee lintian.log'
   artifacts:
     paths: ['lintian.log']