From 764116ef56e12f167bc5a2613d3835173e5301fc Mon Sep 17 00:00:00 2001 From: Dan Nicholson Date: Thu, 8 Apr 2021 10:22:21 -0600 Subject: [PATCH 1/2] travis: Don't ask any debconf questions when installing packages Currently the Ubuntu builds are stuck waiting for an answer on what timezone to use. That could be fixed, but generally the way to do these types of installs is to set the DEBIAN_FRONTEND environment variable to `noninteractive` so that debconf just chooses a default. This is what debootstrap does, for instance. I tested installing tzdata on a local focal container this way and it just chooses `Etc/UTC` as the timezone. --- ci/travis-install.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ci/travis-install.sh b/ci/travis-install.sh index 64801741..b40f4c55 100755 --- a/ci/travis-install.sh +++ b/ci/travis-install.sh @@ -82,6 +82,10 @@ esac case "$ci_distro" in (debian|ubuntu) + # Make debconf run non-interactively since its questions can't + # be answered. + export DEBIAN_FRONTEND=noninteractive + # TODO: fetch this list from the Debian packaging git repository? $sudo apt-get -y update $sudo apt-get -y install \ From 2fc0e237d8095676808fdc363aad76d1eb1b2068 Mon Sep 17 00:00:00 2001 From: Dan Nicholson Date: Thu, 8 Apr 2021 10:33:12 -0600 Subject: [PATCH 2/2] travis: Drop i386 Ubuntu target Ubuntu dropped i386[1], so there's no sense in attempting the build there. In 2021 I don't think it's worth the trouble to keep doing that, but if desired Debian still supports it. 1. https://wiki.ubuntu.com/FocalFossa/ReleaseNotes#Upgrades_on_i386 --- .travis.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 1977b5ec..2f3ef055 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,7 +6,6 @@ env: - ci_docker=debian:buster-slim ci_distro=debian ci_suite=stretch ci_configopts="--with-ed25519-libsodium" ci_pkgs="libsodium-dev" - ci_docker=debian:buster-slim ci_distro=debian ci_suite=stretch ci_configopts="--with-curl --with-ed25519-libsodium --without-gpgme" ci_pkgs="libsodium-dev" - ci_docker=ubuntu:focal ci_distro=ubuntu ci_suite=focal - - ci_docker=i386/ubuntu:focal ci_distro=ubuntu ci_suite=focal - ci_docker=ubuntu:groovy ci_distro=ubuntu ci_suite=groovy script: