2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-30 13:58:34 +00:00

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>
This commit is contained in:
Andrew Vagin
2016-02-23 03:23:00 +03:00
committed by Pavel Emelyanov
parent 4a0dcbbf86
commit 5594f14cc7
2 changed files with 12 additions and 0 deletions

View File

@@ -9,3 +9,4 @@ env:
- TR_ARCH=aarch64
script:
- sudo make -C scripts/build $TR_ARCH
- sudo ./scripts/travis-tests $TR_ARCH

11
scripts/travis-tests Executable file
View File

@@ -0,0 +1,11 @@
#!/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