Commit 0ecd9c2b authored by Andrei Vagin's avatar Andrei Vagin

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: 's avatarAndrei Vagin <avagin@virtuozzo.com>
Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
parent 649280e3
...@@ -6,11 +6,11 @@ services: ...@@ -6,11 +6,11 @@ services:
env: env:
- TR_ARCH=local GCOV=1 - TR_ARCH=local GCOV=1
- TR_ARCH=local CLANG=1 - TR_ARCH=local CLANG=1
- TR_ARCH=alpine
- TR_ARCH=x86_64 - TR_ARCH=x86_64
- TR_ARCH=armv7hf - TR_ARCH=armv7hf
- TR_ARCH=aarch64 - TR_ARCH=aarch64
- TR_ARCH=ppc64le - TR_ARCH=ppc64le
- TR_ARCH=alpine
- TR_ARCH=armv7hf CLANG=1 - TR_ARCH=armv7hf CLANG=1
- TR_ARCH=aarch64 CLANG=1 - TR_ARCH=aarch64 CLANG=1
- TR_ARCH=ppc64le CLANG=1 - TR_ARCH=ppc64le CLANG=1
......
...@@ -13,6 +13,17 @@ RUN apk update && apk add \ ...@@ -13,6 +13,17 @@ RUN apk update && apk add \
pkgconfig \ pkgconfig \
libnet-dev \ libnet-dev \
$CC $CC
COPY . /criu COPY . /criu
WORKDIR /criu WORKDIR /criu
RUN make mrproper && make -j $(nproc) CC=$CC 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
...@@ -6,5 +6,9 @@ after_success: ...@@ -6,5 +6,9 @@ after_success:
./travis-after_success ./travis-after_success
.PHONY: 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 $@ $(MAKE) -C ../build $@
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment