.travis.yml
This commit is contained in:
parent
2fd54d9f7e
commit
b1a532aefc
|
@ -49,12 +49,17 @@ matrix:
|
||||||
name: gansm/finalcut
|
name: gansm/finalcut
|
||||||
description: Build submitted via Travis CI
|
description: Build submitted via Travis CI
|
||||||
notification_email: guru.mail@muenster.de
|
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_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: "make V=1 -j10 && make check"
|
||||||
branch_pattern: master
|
branch_pattern: master
|
||||||
before_install:
|
before_install:
|
||||||
- lsb_release -a
|
- lsb_release -a
|
||||||
- uname -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
|
# Coveralls
|
||||||
|
|
|
@ -1175,6 +1175,7 @@ void FMouseUrxvt::setButtonState (int button, struct timeval* time)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
//----------------------------------------------------------------------
|
//----------------------------------------------------------------------
|
||||||
// class FMouseControl
|
// class FMouseControl
|
||||||
//----------------------------------------------------------------------
|
//----------------------------------------------------------------------
|
||||||
|
|
|
@ -137,6 +137,10 @@ void FMouseTest::classNameTest()
|
||||||
FMouseUrxvt urxvt_mouse;
|
FMouseUrxvt urxvt_mouse;
|
||||||
const char* const classname5 = urxvt_mouse.getClassName();
|
const char* const classname5 = urxvt_mouse.getClassName();
|
||||||
CPPUNIT_ASSERT ( std::strcmp(classname5, "FMouseUrxvt") == 0 );
|
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;
|
FMouseUrxvt urxvt_mouse;
|
||||||
CPPUNIT_ASSERT ( ! urxvt_mouse.hasData() );
|
CPPUNIT_ASSERT ( ! urxvt_mouse.hasData() );
|
||||||
|
|
||||||
|
FMouseControl mouse_control;
|
||||||
|
CPPUNIT_ASSERT ( ! mouse_control.hasData() );
|
||||||
}
|
}
|
||||||
|
|
||||||
//----------------------------------------------------------------------
|
//----------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue