server/s/travis-build
2015-08-16 19:55:11 +02:00

21 lines
295 B
Bash
Executable file

#!/bin/sh
ROOT=`pwd`
inifile() {
cd $ROOT
if [ ! -e eressea.ini ]; then
cp conf/eressea.ini .
$BUILD/iniparser/inifile eressea.ini add lua:paths lunit:scripts
fi
}
set -e
[ -z $BUILD ] && BUILD=Debug ; export BUILD
s/cmake-init
s/build
cd $ROOT
inifile
s/runtests
cd tests
./write-reports.sh