diff --git a/s/travis-build b/s/travis-build index 47c50d9f9..88b95d850 100755 --- a/s/travis-build +++ b/s/travis-build @@ -1,14 +1,16 @@ #!/bin/sh +inifile() { if [ ! -e eressea.ini ]; then cp conf/eressea.ini . build/iniparser/inifile eressea.ini add lua:paths lunit:scripts fi +} [ -d build ] || mkdir build cd build && cmake .. \ -DCMAKE_MODULE_PATH=$PWD/../cmake/Modules \ -DCMAKE_BUILD_TYPE=Debug .. && \ -make && cd .. && +make && cd .. && inifile && build/eressea/test_eressea && build/eressea/eressea -v1 scripts/run-tests.lua