Commit 2a6b8e17 authored by Kir Kolyshkin's avatar Kir Kolyshkin Committed by Andrei Vagin

travis-tests: install less packages

asciidoc pulls in a lot of dependencies, most of those are not
needed as we just use it to convert txt to a man page. Adding
--no-install-recommended option to apt-get makes it skip those
additional dependencies. The only needed package is xmlto, so
let's add it explicitly.

This results is some 50 packages being skipped (mostly TeX/LaTeX and
some extra SGML tools), wow!
Signed-off-by: 's avatarKir Kolyshkin <kir@openvz.org>
Signed-off-by: 's avatarAndrei Vagin <avagin@virtuozzo.com>
parent 12e3adc6
...@@ -4,7 +4,7 @@ set -x -e ...@@ -4,7 +4,7 @@ set -x -e
TRAVIS_PKGS="protobuf-c-compiler libprotobuf-c0-dev libaio-dev TRAVIS_PKGS="protobuf-c-compiler libprotobuf-c0-dev libaio-dev
libprotobuf-dev protobuf-compiler python-ipaddr libcap-dev libprotobuf-dev protobuf-compiler python-ipaddr libcap-dev
libnl-3-dev gcc-multilib libc6-dev-i386 gdb bash python-protobuf libnl-3-dev gcc-multilib libc6-dev-i386 gdb bash python-protobuf
libnet-dev util-linux asciidoc" libnet-dev util-linux asciidoc xmlto"
travis_prep () { travis_prep () {
[ -n "$SKIP_TRAVIS_PREP" ] && return [ -n "$SKIP_TRAVIS_PREP" ] && return
...@@ -31,7 +31,7 @@ travis_prep () { ...@@ -31,7 +31,7 @@ travis_prep () {
fi fi
apt-get update -qq apt-get update -qq
apt-get install -qq $TRAVIS_PKGS apt-get install -qq --no-install-recommends $TRAVIS_PKGS
chmod a+x $HOME chmod a+x $HOME
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment