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:
committed by
Pavel Emelyanov
parent
4a0dcbbf86
commit
5594f14cc7
@@ -9,3 +9,4 @@ env:
|
|||||||
- TR_ARCH=aarch64
|
- TR_ARCH=aarch64
|
||||||
script:
|
script:
|
||||||
- sudo make -C scripts/build $TR_ARCH
|
- sudo make -C scripts/build $TR_ARCH
|
||||||
|
- sudo ./scripts/travis-tests $TR_ARCH
|
||||||
|
11
scripts/travis-tests
Executable file
11
scripts/travis-tests
Executable 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
|
Reference in New Issue
Block a user