server/s/travis-build
2016-09-16 16:54:41 +02:00

22 lines
309 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
./run-turn.sh