2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-30 22:05:36 +00:00

travis: switch to the Ubuntu Xenial

Signed-off-by: Andrei Vagin <avagin@gmail.com>
This commit is contained in:
Andrei Vagin
2018-11-27 20:45:45 +03:00
parent bc522bcc94
commit 02018f01f1
4 changed files with 15 additions and 7 deletions

View File

@@ -16,15 +16,23 @@ ZDTM_OPTIONS :=
alpine: ZDTM_OPTIONS=-x zdtm/static/binfmt_misc -x zdtm/static/netns-nf -x zdtm/static/sched_policy00 -x zdtm/static/seccomp_strict -x zdtm/static/sigaltstack -x zdtm/static/signalfd00 -x zdtm/static/config_inotify_irmap
define DOCKER_JSON
{
"storage-driver": "devicemapper"
}
endef
export DOCKER_JSON
$(TARGETS):
echo 'DOCKER_OPTS="--storage-driver=devicemapper"' > /etc/default/docker
restart docker
echo "$$DOCKER_JSON" > /etc/docker/daemon.json
systemctl restart docker
$(MAKE) -C ../build $@$(target-suffix)
docker run --env-file docker.env --rm -it --privileged -v /lib/modules:/lib/modules --tmpfs /run criu-$@ scripts/travis/travis-tests
fedora-asan:
echo 'DOCKER_OPTS="--storage-driver=devicemapper"' > /etc/default/docker
restart docker
ip6tables -L -n
echo "$$DOCKER_JSON" > /etc/docker/daemon.json
systemctl restart docker
$(MAKE) -C ../build $@$(target-suffix)
docker run --rm -it --privileged -v /lib/modules:/lib/modules --tmpfs /run criu-$@ ./scripts/travis/asan.sh $(ZDTM_OPTIONS)