mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 02:14:37 +00:00
CRIU is already using multiple CI systems and not just Travis. This renames all Travis related things to 'ci' to show it is actually independent of Travis. Just a simple rename. Signed-off-by: Adrian Reber <areber@redhat.com>
20 lines
509 B
Bash
Executable file
20 lines
509 B
Bash
Executable file
#!/bin/bash
|
|
|
|
cd ../.. || exit 1
|
|
|
|
failures=""
|
|
|
|
docker build -t criu-openj9-ubuntu-test:latest -f scripts/build/Dockerfile.openj9-ubuntu .
|
|
if ! docker run --rm --privileged criu-openj9-ubuntu-test:latest; then
|
|
failures="$failures ubuntu"
|
|
fi
|
|
|
|
docker build -t criu-openj9-alpine-test:latest -f scripts/build/Dockerfile.openj9-alpine .
|
|
if ! docker run --rm --privileged criu-openj9-alpine-test:latest; then
|
|
failures="$failures alpine"
|
|
fi
|
|
|
|
if [ -n "$failures" ]; then
|
|
echo "Tests failed on $failures"
|
|
exit 1
|
|
fi
|