Commit 6866fd2e authored by Kir Kolyshkin's avatar Kir Kolyshkin Committed by Pavel Emelyanov

travis: fix clang builds

As pointed out by Andrey, arch clang tests are using gcc regardless
of CLANG=1 set in travis environment.

Frankly, I do not understand how it worked before (while being
pretty sure it worked!), but here is a way to fix it.
Reported-by: 's avatarAndrey Vagin <avagin@virtuozzo.com>
Signed-off-by: 's avatarKir Kolyshkin <kir@openvz.org>
Signed-off-by: 's avatarAndrei Vagin <avagin@virtuozzo.com>
parent a6ed6964
......@@ -6,9 +6,15 @@ after_success:
./travis-after_success
.PHONY: after_success
target-suffix =
ifdef CLANG
target-suffix = -clang
endif
alpine:
$(MAKE) -C ../build alpine
$(MAKE) -C ../build $@$(target-suffix)
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 $@$(target-suffix)
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