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.
44 lines
767 B
Bash
Executable File
44 lines
767 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 wget make gawk gcc bc xz-utils bison flex xorriso libelf-dev libssl-dev
|
|
|
|
PREFIXES="00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16"
|
|
|
|
for PREFIX in ${PREFIXES}
|
|
do
|
|
SCRIPTS=`ls ${PREFIX}_*.sh`
|
|
for SCRIPT in ${SCRIPTS}
|
|
do
|
|
echo "`date` | Running script '${SCRIPT}'."
|
|
set +e
|
|
./${SCRIPT} > /tmp/mll.log 2>&1
|
|
set -e
|
|
|
|
if [ "$?" = "0" ] ; then
|
|
echo "`date` | Success."
|
|
else
|
|
echo "`date` | !!! FAILURE !!!"
|
|
tail -n 1000 /tmp/mll.log
|
|
exit 1
|
|
fi
|
|
done
|
|
done
|
|
|
|
cat << CEOF
|
|
|
|
######################
|
|
# #
|
|
# MLL build is OK. #
|
|
# #
|
|
######################
|
|
|
|
CEOF
|
|
|
|
set +e
|