summaryrefslogtreecommitdiff
path: root/travis-ci/managers
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-05-10 10:33:37 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-05-20 15:47:28 +0200
commit9fd1a0babd3df076b91222c067a707c82537d920 (patch)
tree40bb252f70938ef0f5cc515b00ea267c2e3b85fe /travis-ci/managers
parentc6448ee39eaf5cba6676239576a745cc5dabc154 (diff)
downloadsystemd-9fd1a0babd3df076b91222c067a707c82537d920.tar.gz
tests: install perl for CI
It is useful for various tests (test-directives, test-udev, …).
Diffstat (limited to 'travis-ci/managers')
-rwxr-xr-xtravis-ci/managers/debian.sh5
-rwxr-xr-xtravis-ci/managers/fedora.sh10
-rwxr-xr-xtravis-ci/managers/xenial.sh38
3 files changed, 49 insertions, 4 deletions
diff --git a/travis-ci/managers/debian.sh b/travis-ci/managers/debian.sh
index 8a3a0e9c87..c34bf4ba5f 100755
--- a/travis-ci/managers/debian.sh
+++ b/travis-ci/managers/debian.sh
@@ -15,7 +15,10 @@ CONT_NAME="${CONT_NAME:-debian-$DEBIAN_RELEASE-$RANDOM}"
DOCKER_EXEC="${DOCKER_EXEC:-docker exec -it $CONT_NAME}"
DOCKER_RUN="${DOCKER_RUN:-docker run}"
REPO_ROOT="${REPO_ROOT:-$PWD}"
-ADDITIONAL_DEPS=(python3-libevdev python3-pyparsing clang)
+ADDITIONAL_DEPS=(python3-libevdev
+ python3-pyparsing
+ clang
+ perl)
function info() {
echo -e "\033[33;1m$1\033[0m"
diff --git a/travis-ci/managers/fedora.sh b/travis-ci/managers/fedora.sh
index bb1b79be4b..71c794821f 100755
--- a/travis-ci/managers/fedora.sh
+++ b/travis-ci/managers/fedora.sh
@@ -15,7 +15,15 @@ CONT_NAME="${CONT_NAME:-fedora-$FEDORA_RELEASE-$RANDOM}"
DOCKER_EXEC="${DOCKER_EXEC:-docker exec -it $CONT_NAME}"
DOCKER_RUN="${DOCKER_RUN:-docker run}"
REPO_ROOT="${REPO_ROOT:-$PWD}"
-ADDITIONAL_DEPS=(dnf-plugins-core python2 iputils hostname libasan python3-pyparsing python3-evdev libubsan clang llvm)
+ADDITIONAL_DEPS=(dnf-plugins-core
+ python2 iputils
+ hostname libasan
+ python3-pyparsing
+ python3-evdev
+ libubsan
+ clang
+ llvm
+ perl)
function info() {
echo -e "\033[33;1m$1\033[0m"
diff --git a/travis-ci/managers/xenial.sh b/travis-ci/managers/xenial.sh
index 33b40e63c5..7c7e163e4e 100755
--- a/travis-ci/managers/xenial.sh
+++ b/travis-ci/managers/xenial.sh
@@ -2,11 +2,45 @@
set -e
set -x
+PACKAGES=(cryptsetup-bin
+ gettext
+ iptables-dev
+ iputils-ping
+ isc-dhcp-client
+ itstool
+ kbd
+ libblkid-dev
+ libcap-dev
+ libcurl4-gnutls-dev
+ libgpg-error-dev
+ liblz4-dev
+ liblzma-dev
+ libmicrohttpd-dev
+ libmount-dev
+ libmount-dev
+ libqrencode-dev
+ libxkbcommon-dev
+ linux-image-virtual
+ mount
+ net-tools
+ ninja-build
+ perl
+ python-lxml
+ python3-evdev
+ python3-lxml
+ python3-pip
+ python3-pyparsing
+ python3-setuptools
+ qemu-system-x86
+ strace
+ unifont
+ util-linux)
+
bash -c "echo 'deb-src http://archive.ubuntu.com/ubuntu/ xenial main restricted universe multiverse' >>/etc/apt/sources.list"
+
apt-get update
apt-get build-dep systemd -y
-apt-get install -y util-linux libmount-dev libblkid-dev liblzma-dev libqrencode-dev libmicrohttpd-dev iptables-dev liblz4-dev libcurl4-gnutls-dev unifont itstool kbd cryptsetup-bin net-tools isc-dhcp-client iputils-ping strace qemu-system-x86 linux-image-virtual mount libgpg-error-dev libxkbcommon-dev python-lxml python3-lxml python3-pip libcap-dev
-apt-get install -y gettext python3-evdev python3-pyparsing libmount-dev python3-setuptools ninja-build
+apt-get install -y "${PACKAGES[@]}"
pip3 install meson
cd ${REPO_ROOT:-$(pwd)}