diff --git a/.travis.yml b/.travis.yml index 772229670..121a7c7f6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,3 +9,4 @@ env: - TR_ARCH=aarch64 script: - sudo make -C scripts/build $TR_ARCH + - sudo ./scripts/travis-tests $TR_ARCH diff --git a/scripts/travis-tests b/scripts/travis-tests new file mode 100755 index 000000000..d764d2cb5 --- /dev/null +++ b/scripts/travis-tests @@ -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