server/s/travis-build

28 lines
353 B
Plaintext
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
2016-10-03 16:16:17 +02:00
integration_tests() {
cd tests
./write-reports.sh
./run-turn.sh
}
2015-08-16 19:55:11 +02:00
set -e
2015-07-11 23:25:09 +02:00
[ -z $BUILD ] && BUILD=Debug ; export BUILD
s/cmake-init
s/build
cd $ROOT
inifile
2015-07-11 23:25:09 +02:00
s/runtests
2016-10-03 16:16:17 +02:00
integration_tests