diff options
author | Julian Andres Klode <julian.klode@canonical.com> | 2018-06-25 12:30:12 +0200 |
---|---|---|
committer | Julian Andres Klode <julian.klode@canonical.com> | 2018-06-25 12:30:58 +0200 |
commit | 551ded4b63f6f47f022c5ca841031fc2566a58ff (patch) | |
tree | f898f63d7520275b41aad313c30482c5cc43eb01 | |
parent | 79f012bd09ae99d4c9d63dc0ac960376b5338b32 (diff) |
CI: Export DEBIAN_FRONTEND=noninteractive in all CI environments
This ensures that we don't hang waiting for debconf.
-rw-r--r-- | .gitlab-ci.yml | 2 | ||||
-rw-r--r-- | .travis.yml | 7 | ||||
-rw-r--r-- | shippable.yml | 2 |
3 files changed, 9 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0ebff095c..8d2c6b085 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,4 +1,6 @@ image: debian:testing +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: |