.travis.yml

This commit is contained in:
Markus Gans 2018-03-18 15:45:04 +01:00
parent 2fd54d9f7e
commit b1a532aefc
3 changed files with 15 additions and 2 deletions

View File

@ -49,12 +49,17 @@ matrix:
name: gansm/finalcut
description: Build submitted via Travis CI
notification_email: guru.mail@muenster.de
build_command_prepend: autoreconf -v --install --force && ./configure --prefix=/usr CPPFLAGS="-DDEBUG" CXXFLAGS="-g -O0 -DDEBUG" --with-unit-test && make clean
build_command: make V=1 -j10 check
build_command_prepend: "autoreconf -v --install --force && ./configure --prefix=/usr CPPFLAGS=\"-DDEBUG\" CXXFLAGS=\"-g -O0 -DDEBUG\" --with-unit-test && make clean"
build_command: "make V=1 -j10 && make check"
branch_pattern: master
before_install:
- lsb_release -a
- uname -a
script:
- autoreconf -v --install --force
- ./configure --prefix=/usr CPPFLAGS="-DDEBUG" CXXFLAGS="-g -O0 -DDEBUG" --with-unit-test
- make V=1 -j10
- make check
#
# Coveralls

View File

@ -1175,6 +1175,7 @@ void FMouseUrxvt::setButtonState (int button, struct timeval* time)
}
}
//----------------------------------------------------------------------
// class FMouseControl
//----------------------------------------------------------------------

View File

@ -137,6 +137,10 @@ void FMouseTest::classNameTest()
FMouseUrxvt urxvt_mouse;
const char* const classname5 = urxvt_mouse.getClassName();
CPPUNIT_ASSERT ( std::strcmp(classname5, "FMouseUrxvt") == 0 );
FMouseControl mouse_control;
const char* const classname6 = mouse_control.getClassName();
CPPUNIT_ASSERT ( std::strcmp(classname6, "FMouseControl") == 0 );
}
//----------------------------------------------------------------------
@ -174,6 +178,9 @@ void FMouseTest::noArgumentTest()
FMouseUrxvt urxvt_mouse;
CPPUNIT_ASSERT ( ! urxvt_mouse.hasData() );
FMouseControl mouse_control;
CPPUNIT_ASSERT ( ! mouse_control.hasData() );
}
//----------------------------------------------------------------------