[CRIU] [PATCH] travis: Put package list in a variable

Pavel Emelyanov xemul at virtuozzo.com
Wed Oct 19 00:34:54 PDT 2016


Patches moving code around and changing packages list conflict
with each other all the time. Split these two :)

Signed-off-by: Pavel Emelyanov <xemul at virtuozzo.com>

---

diff --git a/scripts/travis/travis-tests b/scripts/travis/travis-tests
index 15e8afe..2d9797e 100755
--- a/scripts/travis/travis-tests
+++ b/scripts/travis/travis-tests
@@ -1,6 +1,10 @@
 #!/bin/sh
 set -x -e
 
+TRAVIS_PKGS="protobuf-c-compiler libprotobuf-c0-dev libaio-dev
+		libprotobuf-dev protobuf-compiler python-ipaddr libcap-dev
+		libnl-3-dev gcc-multilib libc6-dev-i386 gdb bash python-protobuf"
+
 travis_prep () {
 	[ -n "$SKIP_TRAVIS_PREP" ] && return
 
@@ -9,9 +13,7 @@ travis_prep () {
 	service apport stop
 
 	apt-get update -qq
-	apt-get install -qq protobuf-c-compiler libprotobuf-c0-dev libaio-dev	\
-		libprotobuf-dev protobuf-compiler python-ipaddr libcap-dev	\
-		libnl-3-dev gcc-multilib libc6-dev-i386 gdb bash python-protobuf
+	apt-get install -qq $TRAVIS_PKGS
 		if [ "$CLANG" = "1" ]; then
 			apt-get install -qq clang
 			MAKE_VARS=CC=clang


More information about the CRIU mailing list