summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Andres Klode <julian.klode@canonical.com>2018-06-25 12:30:12 +0200
committerJulian Andres Klode <julian.klode@canonical.com>2018-06-25 13:01:38 +0200
commit43782f8bba846e664058130157e426ef54b638ea (patch)
treedac8f824758378781f00f399b993eef25ab6c9fb
parent1edcb718293f24ad190703a345f8f868b6e3bcc4 (diff)
downloadapt-43782f8bba846e664058130157e426ef54b638ea.tar.gz
CI: Export DEBIAN_FRONTEND=noninteractive in all CI environments
This ensures that we don't hang waiting for debconf. (cherry picked from commit 551ded4b63f6f47f022c5ca841031fc2566a58ff)
-rw-r--r--.gitlab-ci.yml2
-rw-r--r--.travis.yml7
-rw-r--r--shippable.yml2
3 files changed, 9 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index cc7ff5cae..18b44e9ac 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,4 +1,6 @@
image: ubuntu:bionic
+variables:
+ DEBIAN_FRONTEND: noninteractive
test as root:
stage: test
diff --git a/.travis.yml b/.travis.yml
index 7ef7b36c9..c010e1353 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -4,8 +4,11 @@ sudo: required
services:
- docker
env:
- - USER=travis CMAKE_FLAGS=
- - USER=root CMAKE_FLAGS=-DWITH_DOC=OFF
+ global:
+ - DEBIAN_FRONTEND=noninteractive
+ matrix:
+ - USER=travis CMAKE_FLAGS=
+ - USER=root CMAKE_FLAGS=-DWITH_DOC=OFF
install:
- sed -i -e "s#1000#$(id -u)#g" Dockerfile
- docker build --tag=apt-ci .
diff --git a/shippable.yml b/shippable.yml
index 5aafda9cf..3978ddcb5 100644
--- a/shippable.yml
+++ b/shippable.yml
@@ -1,4 +1,6 @@
language: none
+env:
+ - DEBIAN_FRONTEND=noninteractive
build:
pre_ci_boot: