diff --git a/.travis.yml b/.travis.yml index 79708483d..cceb36fdf 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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)" diff --git a/travis/runtests.sh b/travis/runtests.sh new file mode 100755 index 000000000..da9ed5cc2 --- /dev/null +++ b/travis/runtests.sh @@ -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