Travis CI integration

This commit is contained in:
Enno Rehling 2014-10-14 22:11:49 +02:00
parent 76b2325c19
commit a18ea927e6
2 changed files with 14 additions and 0 deletions

5
.travis.yml Normal file
View File

@ -0,0 +1,5 @@
language: c
compiler:
- gcc
- clang
script: s/travis-build

9
s/travis-build Executable file
View File

@ -0,0 +1,9 @@
#!/bin/sh
[ -d build ] || mkdir build
cd build && cmake .. \
-DCMAKE_MODULE_PATH=$PWD/../cmake/Modules \
-DCMAKE_BUILD_TYPE=Debug .. && \
make && cd .. &&
build/eressea/test_eressea &&
build/eressea/eressea -v0 scripts/run-tests.lua