server/s/travis-build

24 lines
325 B
Text
Raw Normal View History

2014-10-14 22:11:49 +02:00
#!/bin/sh
ROOT=`pwd`
2014-10-14 23:22:02 +02:00
inifile() {
cd $ROOT
2014-10-14 23:18:01 +02:00
if [ ! -e eressea.ini ]; then
cp conf/eressea.ini .
$BUILD/iniparser/inifile eressea.ini add lua:paths lunit:scripts
2014-10-14 23:18:01 +02:00
fi
2014-10-14 23:22:02 +02:00
}
2014-10-14 23:18:01 +02:00
2015-08-16 19:55:11 +02:00
set -e
2015-07-11 23:25:09 +02:00
[ -z $BUILD ] && BUILD=Debug ; export BUILD
cmake --version
2015-07-11 23:25:09 +02:00
s/cmake-init
s/build
cd $ROOT
inifile
2015-07-11 23:25:09 +02:00
s/runtests
cd tests
./write-reports.sh
./run-turn.sh