2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-09-03 07:45:17 +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 #!/bin/sh
set -x -e 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 () { travis_prep () {
[ -n "$SKIP_TRAVIS_PREP" ] && return [ -n "$SKIP_TRAVIS_PREP" ] && return
@@ -9,9 +13,7 @@ travis_prep () {
service apport stop service apport stop
apt-get update -qq apt-get update -qq
apt-get install -qq protobuf-c-compiler libprotobuf-c0-dev libaio-dev \ apt-get install -qq $TRAVIS_PKGS
libprotobuf-dev protobuf-compiler python-ipaddr libcap-dev \
libnl-3-dev gdb bash python-protobuf
if [ "$CLANG" = "1" ]; then if [ "$CLANG" = "1" ]; then
apt-get install -qq clang apt-get install -qq clang
MAKE_VARS=CC=clang MAKE_VARS=CC=clang