Travis CI - Work around incomplete ca-chain of scan.coverity.com
See also https://travis-ci.community/t/certificate-issue-during-coverity-build/3153
This commit is contained in:
parent
7f206e88f0
commit
cc720dc7db
|
@ -60,6 +60,9 @@ matrix:
|
|||
- uname -a
|
||||
- whoami
|
||||
- sudo apt-get install gpm libgpm-dev libcppunit-dev autoconf-archive
|
||||
# Work around broken certificate of scan.coverity.com
|
||||
- sudo curl -s -L https://entrust.com/root-certificates/entrust_l1k.cer -o /usr/local/share/ca-certificates/entrust_l1k.crt
|
||||
- sudo update-ca-certificates
|
||||
script:
|
||||
- autoreconf -v --install --force
|
||||
- ./configure --prefix=/usr CPPFLAGS="-DDEBUG" CXXFLAGS="-g -O0 -DDEBUG" --with-unit-test
|
||||
|
|
|
@ -461,7 +461,7 @@ void FButtonGroup::drawLabel()
|
|||
|
||||
// private methods of FButtonGroup
|
||||
//----------------------------------------------------------------------
|
||||
bool FButtonGroup::isRadioButton (FToggleButton* button) const
|
||||
bool FButtonGroup::isRadioButton (const FToggleButton* button) const
|
||||
{
|
||||
if ( ! button )
|
||||
return false;
|
||||
|
|
|
@ -345,25 +345,25 @@ void FMenu::cb_menuitem_toggled (FWidget* widget, FDataPtr)
|
|||
|
||||
// private methods of FMenu
|
||||
//----------------------------------------------------------------------
|
||||
bool FMenu::isWindowsMenu (FWidget* w) const
|
||||
bool FMenu::isWindowsMenu (const FWidget* w) const
|
||||
{
|
||||
return w->isDialogWidget();
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
bool FMenu::isMenuBar (FWidget* w) const
|
||||
bool FMenu::isMenuBar (const FWidget* w) const
|
||||
{
|
||||
return w->isInstanceOf("FMenuBar");
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
bool FMenu::isMenu (FWidget* w) const
|
||||
bool FMenu::isMenu (const FWidget* w) const
|
||||
{
|
||||
return w->isInstanceOf("FMenu");
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
bool FMenu::isRadioMenuItem (FWidget* w) const
|
||||
bool FMenu::isRadioMenuItem (const FWidget* w) const
|
||||
{
|
||||
return w->isInstanceOf("FRadioMenuItem");
|
||||
}
|
||||
|
|
|
@ -113,7 +113,7 @@ FObject* FObject::getChild (int index) const
|
|||
}
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
bool FObject::isChild (FObject* obj) const
|
||||
bool FObject::isChild (const FObject* obj) const
|
||||
{
|
||||
// Find out if obj is a child object of mine
|
||||
|
||||
|
|
|
@ -129,7 +129,7 @@ class FButtonGroup : public FScrollView
|
|||
static constexpr std::size_t NOT_SET = static_cast<std::size_t>(-1);
|
||||
|
||||
// Inquiries
|
||||
bool isRadioButton (FToggleButton*) const;
|
||||
bool isRadioButton (const FToggleButton*) const;
|
||||
|
||||
// Methods
|
||||
void init();
|
||||
|
|
|
@ -161,10 +161,10 @@ class FMenu : public FWindow, public FMenuList
|
|||
void setSuperMenu (FWidget*);
|
||||
|
||||
// Inquiries
|
||||
bool isWindowsMenu (FWidget*) const;
|
||||
bool isMenuBar (FWidget*) const;
|
||||
bool isMenu (FWidget*) const;
|
||||
bool isRadioMenuItem (FWidget*) const;
|
||||
bool isWindowsMenu (const FWidget*) const;
|
||||
bool isMenuBar (const FWidget*) const;
|
||||
bool isMenu (const FWidget*) const;
|
||||
bool isRadioMenuItem (const FWidget*) const;
|
||||
bool isSubMenu() const;
|
||||
bool isMouseOverMenu (const FPoint&);
|
||||
bool isMouseOverSubMenu (const FPoint&);
|
||||
|
|
|
@ -121,7 +121,7 @@ class FMenuBar : public FWindow, public FMenuList
|
|||
} menuText;
|
||||
|
||||
// Inquiry
|
||||
bool isMenu (FMenuItem*) const;
|
||||
bool isMenu (const FMenuItem*) const;
|
||||
|
||||
// Methods
|
||||
void init();
|
||||
|
@ -168,7 +168,7 @@ inline const char* FMenuBar::getClassName() const
|
|||
{ return "FMenuBar"; }
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
inline bool FMenuBar::isMenu (FMenuItem* mi) const
|
||||
inline bool FMenuBar::isMenu (const FMenuItem* mi) const
|
||||
{ return mi->hasMenu(); }
|
||||
|
||||
} // namespace finalcut
|
||||
|
|
|
@ -98,8 +98,8 @@ class FObject
|
|||
// Inquiries
|
||||
bool hasParent() const;
|
||||
bool hasChildren() const;
|
||||
bool isChild (FObject*) const;
|
||||
bool isDirectChild (FObject*) const;
|
||||
bool isChild (const FObject*) const;
|
||||
bool isDirectChild (const FObject*) const;
|
||||
bool isWidget() const;
|
||||
bool isInstanceOf (const char[]) const;
|
||||
bool isTimerInUpdating() const;
|
||||
|
@ -205,7 +205,7 @@ inline bool FObject::hasChildren() const
|
|||
{ return bool( ! children_list.empty() ); }
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
inline bool FObject::isDirectChild (FObject* obj) const
|
||||
inline bool FObject::isDirectChild (const FObject* obj) const
|
||||
{ return bool( obj->getParent() == this ); }
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue