criu/scripts/travis/Makefile
Kir Kolyshkin 6866fd2e24 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: Andrey Vagin <avagin@virtuozzo.com>
Signed-off-by: Kir Kolyshkin <kir@openvz.org>
Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
2017-04-02 18:09:34 +03:00

20 lines
367 B
Makefile

local:
./travis-tests
.PHONY: local
after_success:
./travis-after_success
.PHONY: after_success
target-suffix =
ifdef CLANG
target-suffix = -clang
endif
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 $@$(target-suffix)