criu/scripts/travis-tests
Andrew Vagin 5594f14cc7 travis: execute tests from travis
We can't execute userns tests, because a kernel is too old there.

Signed-off-by: Andrew Vagin <avagin@virtuozzo.com>
Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
2016-02-24 13:17:44 +03:00

11 lines
287 B
Bash
Executable file

#!/bin/sh
set -x -e
test "$1" = "x86_64" || exit 0
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
chmod a+x $HOME
make
make -C test/zdtm
python test/zdtm.py run -a -f h,ns