continuous-build: run QA tests on travis-ci

This commit is contained in:
Giacomo Tesio 2016-12-15 22:47:10 +01:00
parent b77038020c
commit 285f3026b0
2 changed files with 7 additions and 1 deletions

5
QA.sh
View File

@ -34,10 +34,13 @@ fi
if [ "$KERNEL" = "" ]; then
KERNEL=jehanne.32bit
fi
if [ "$NCPU" = "" ]; then
NCPU=1
fi
cd $KERNDIR
read -r cmd <<EOF
$kvmdo qemu-system-x86_64 -s -cpu Opteron_G1 -smp 1 -m 2048 $kvmflag \
$kvmdo qemu-system-x86_64 -s -cpu Opteron_G1 -smp $NCPU -m 2048 $kvmflag \
-serial stdio \
--nographic \
--monitor /dev/null \

View File

@ -39,6 +39,9 @@ if [ "${COVERITY_SCAN_BRANCH}" != 1 ]; then
build all
if [ "$TRAVIS_BUILD_DIR" != "" ]; then
echo "Run QA checks"
echo /qa/check | NCPU=2 KERNEL=workhorse.32bit KERNDIR=$JEHANNE/hacking/bin/ runqemu
echo "Move cross-compiling toolchain to $JEHANNE/tmp/toolchain for Travis caches"
if [ ! -d "$JEHANNE/tmp/toolchain" ]; then
mkdir $JEHANNE/tmp/toolchain