forked from github/server
add travis build script to branch
This commit is contained in:
parent
c0460197b1
commit
06d5175030
|
@ -0,0 +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 .. && inifile &&
|
||||
build/eressea/test_eressea &&
|
||||
build/eressea/eressea -v0 scripts/run-tests.lua
|
Loading…
Reference in New Issue