2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-31 14:25:49 +00:00

travis: Put package list in a variable

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

travis-ci: success for travis: Put package list in a variable
Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
This commit is contained in:
Pavel Emelyanov
2016-10-19 10:34:00 +03:00
parent 9c4744d67d
commit 19e0221328

View File

@@ -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 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 gdb bash python-protobuf
apt-get install -qq $TRAVIS_PKGS
if [ "$CLANG" = "1" ]; then
apt-get install -qq clang
MAKE_VARS=CC=clang