server/s/travis-build

15 lines
357 B
Plaintext
Raw Normal View History

2014-10-14 22:11:49 +02:00
#!/bin/sh
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
fi
2014-10-14 22:11:49 +02:00
[ -d build ] || mkdir build
cd build && cmake .. \
-DCMAKE_MODULE_PATH=$PWD/../cmake/Modules \
-DCMAKE_BUILD_TYPE=Debug .. && \
make && cd .. &&
build/eressea/test_eressea &&
2014-10-14 23:10:00 +02:00
build/eressea/eressea -v1 scripts/run-tests.lua