travis: execute tests on Alpine

"zdtm.py run -a" doesn't work on Alpine:
find: unrecognized: -executable

So run zdtm/static/env00 for now to be sure that
it is not broken at all.

travis-ci: success for travis: execute tests on Alpine
Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
This commit is contained in:
Andrei Vagin 2017-02-07 23:52:00 +03:00
parent 649280e31d
commit 0ecd9c2b28
3 changed files with 16 additions and 1 deletions

View file

@ -6,11 +6,11 @@ services:
env:
- TR_ARCH=local GCOV=1
- TR_ARCH=local CLANG=1
- TR_ARCH=alpine
- TR_ARCH=x86_64
- TR_ARCH=armv7hf
- TR_ARCH=aarch64
- TR_ARCH=ppc64le
- TR_ARCH=alpine
- TR_ARCH=armv7hf CLANG=1
- TR_ARCH=aarch64 CLANG=1
- TR_ARCH=ppc64le CLANG=1

View file

@ -13,6 +13,17 @@ RUN apk update && apk add \
pkgconfig \
libnet-dev \
$CC
COPY . /criu
WORKDIR /criu
RUN make mrproper && make -j $(nproc) CC=$CC
# to run tests
RUN apk add py-yaml \
py-pip \
ip6tables \
iptables \
iproute2
RUN pip install protobuf
RUN make -C test/zdtm/static env00

View file

@ -6,5 +6,9 @@ after_success:
./travis-after_success
.PHONY: after_success
alpine:
$(MAKE) -C ../build alpine
docker run --rm -it --privileged -v /lib/modules:/lib/modules criu-alpine ./test/zdtm.py run -t zdtm/static/env00
%:
$(MAKE) -C ../build $@