minimal/travis/test_docker.sh
Ivan Davidov c8e0ac2a21 Travis CI updates.
Travis CI configuration improvements.

Added separate test script for Travis CI.

Travis CI updates.

Travis CI updates.

Travis CI related fixes.

Travis CI will use Docker for the tests.

Travis CI updates.

Travis CI updates.

Travis CI updates.

Travis CI updates.

Travis CI updates.

Travis CI updates.

Travis CI updates.

Travis CI updates.

Travis CI updates.

Travis CI updates.

Travis CI updates.

Temporarily enabled debug logging. This has to be reverted later.

Travis CI updates.

Travis CI updates.

Travis CI updates. Docker in privileged mode.

Travis CI updates.

Travis CI updates.

Travis CI updates. MLL Docker test should run fine now.

Added QEMU related tests for Travis CI.

Last minute fix.

Major reorganization. Docker test fails for some reason.

Last minute fix.

Last minute fix.

Removed the 'sudo' hack.

This should fix the Docker test.

Enabled all tests.

Docker fix.

Experimenting...

Experimenting...

Experimenting...

Experiments...

I give up. Way too many hacks. Travis CI may be good for other projects but it doesn't bring much value for MLL.
2018-06-23 14:14:44 +03:00

35 lines
553 B
Bash
Executable File

#!/bin/sh
# This script is supposed to be executed by Travis CI.
set -e
cd ../src
apt-get -qq -y install docker.io
#service docker start
dockerd &
sleep 30
docker run hello-world
echo "`date` | *** MLL Docker test - BEGIN ***"
docker import mll_image.tgz minimal-linux-live:latest
docker run minimal-linux-live /bin/cat /etc/motd
echo "`date` | *** MLL Docker test - END ***"
cat << CEOF
#########################
# #
# Docker test passed. #
# #
#########################
CEOF
set +e