Commit 19e02213 authored by Pavel Emelyanov's avatar Pavel Emelyanov

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: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
parent 9c4744d6
#!/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 () { ...@@ -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
......
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