travis: run testsuite

This commit is contained in:
Guenter Obiltschnig
2015-03-20 16:57:45 +01:00
parent 87fe9faf85
commit 6a5def9d0f
2 changed files with 12 additions and 10 deletions

View File

@@ -24,16 +24,7 @@ matrix:
compiler: gcc
script:
- ./configure && make -s -j2
- export POCO_BASE=`pwd`
- export CPPUNIT_IGNORE="\
- N7CppUnit10TestCallerI8PathTestEE.testExpand \
- N7CppUnit10TestCallerI13RawSocketTestEE.testEchoIPv4 \
- N7CppUnit10TestCallerI13RawSocketTestEE.testSendToReceiveFromIPv4 \
- N7CppUnit10TestCallerI14ICMPClientTestEE.testPing"
- export EXCLUDE_TESTS="Data/MySQL Data/ODBC MongoDB PDF"
- export PATH=$PATH:.
- export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:.
- build/script/runtests.sh
- ./travis/runtests.sh
# TODO add this as soon as Linux-clang config is ready
# - env: TEST_NAME="clang (make)"

11
travis/runtests.sh Executable file
View File

@@ -0,0 +1,11 @@
set -ev
export POCO_BASE=`pwd`
export CPPUNIT_IGNORE="\
N7CppUnit10TestCallerI8PathTestEE.testExpand \
N7CppUnit10TestCallerI13RawSocketTestEE.testEchoIPv4 \
N7CppUnit10TestCallerI13RawSocketTestEE.testSendToReceiveFromIPv4 \
N7CppUnit10TestCallerI14ICMPClientTestEE.testPing"
export EXCLUDE_TESTS="Data/MySQL Data/ODBC MongoDB PDF"
export PATH=$PATH:.
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:.
build/script/runtests.sh