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:
Markus Gans 2019-04-26 23:48:38 +02:00
parent 7f206e88f0
commit cc720dc7db
8 changed files with 19 additions and 16 deletions

View File

@ -60,6 +60,9 @@ matrix:
- uname -a - uname -a
- whoami - whoami
- sudo apt-get install gpm libgpm-dev libcppunit-dev autoconf-archive - 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: script:
- autoreconf -v --install --force - autoreconf -v --install --force
- ./configure --prefix=/usr CPPFLAGS="-DDEBUG" CXXFLAGS="-g -O0 -DDEBUG" --with-unit-test - ./configure --prefix=/usr CPPFLAGS="-DDEBUG" CXXFLAGS="-g -O0 -DDEBUG" --with-unit-test

View File

@ -461,7 +461,7 @@ void FButtonGroup::drawLabel()
// private methods of FButtonGroup // private methods of FButtonGroup
//---------------------------------------------------------------------- //----------------------------------------------------------------------
bool FButtonGroup::isRadioButton (FToggleButton* button) const bool FButtonGroup::isRadioButton (const FToggleButton* button) const
{ {
if ( ! button ) if ( ! button )
return false; return false;

View File

@ -345,25 +345,25 @@ void FMenu::cb_menuitem_toggled (FWidget* widget, FDataPtr)
// private methods of FMenu // private methods of FMenu
//---------------------------------------------------------------------- //----------------------------------------------------------------------
bool FMenu::isWindowsMenu (FWidget* w) const bool FMenu::isWindowsMenu (const FWidget* w) const
{ {
return w->isDialogWidget(); return w->isDialogWidget();
} }
//---------------------------------------------------------------------- //----------------------------------------------------------------------
bool FMenu::isMenuBar (FWidget* w) const bool FMenu::isMenuBar (const FWidget* w) const
{ {
return w->isInstanceOf("FMenuBar"); return w->isInstanceOf("FMenuBar");
} }
//---------------------------------------------------------------------- //----------------------------------------------------------------------
bool FMenu::isMenu (FWidget* w) const bool FMenu::isMenu (const FWidget* w) const
{ {
return w->isInstanceOf("FMenu"); return w->isInstanceOf("FMenu");
} }
//---------------------------------------------------------------------- //----------------------------------------------------------------------
bool FMenu::isRadioMenuItem (FWidget* w) const bool FMenu::isRadioMenuItem (const FWidget* w) const
{ {
return w->isInstanceOf("FRadioMenuItem"); return w->isInstanceOf("FRadioMenuItem");
} }

View File

@ -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 // Find out if obj is a child object of mine

View File

@ -129,7 +129,7 @@ class FButtonGroup : public FScrollView
static constexpr std::size_t NOT_SET = static_cast<std::size_t>(-1); static constexpr std::size_t NOT_SET = static_cast<std::size_t>(-1);
// Inquiries // Inquiries
bool isRadioButton (FToggleButton*) const; bool isRadioButton (const FToggleButton*) const;
// Methods // Methods
void init(); void init();

View File

@ -161,10 +161,10 @@ class FMenu : public FWindow, public FMenuList
void setSuperMenu (FWidget*); void setSuperMenu (FWidget*);
// Inquiries // Inquiries
bool isWindowsMenu (FWidget*) const; bool isWindowsMenu (const FWidget*) const;
bool isMenuBar (FWidget*) const; bool isMenuBar (const FWidget*) const;
bool isMenu (FWidget*) const; bool isMenu (const FWidget*) const;
bool isRadioMenuItem (FWidget*) const; bool isRadioMenuItem (const FWidget*) const;
bool isSubMenu() const; bool isSubMenu() const;
bool isMouseOverMenu (const FPoint&); bool isMouseOverMenu (const FPoint&);
bool isMouseOverSubMenu (const FPoint&); bool isMouseOverSubMenu (const FPoint&);

View File

@ -121,7 +121,7 @@ class FMenuBar : public FWindow, public FMenuList
} menuText; } menuText;
// Inquiry // Inquiry
bool isMenu (FMenuItem*) const; bool isMenu (const FMenuItem*) const;
// Methods // Methods
void init(); void init();
@ -168,7 +168,7 @@ inline const char* FMenuBar::getClassName() const
{ return "FMenuBar"; } { return "FMenuBar"; }
//---------------------------------------------------------------------- //----------------------------------------------------------------------
inline bool FMenuBar::isMenu (FMenuItem* mi) const inline bool FMenuBar::isMenu (const FMenuItem* mi) const
{ return mi->hasMenu(); } { return mi->hasMenu(); }
} // namespace finalcut } // namespace finalcut

View File

@ -98,8 +98,8 @@ class FObject
// Inquiries // Inquiries
bool hasParent() const; bool hasParent() const;
bool hasChildren() const; bool hasChildren() const;
bool isChild (FObject*) const; bool isChild (const FObject*) const;
bool isDirectChild (FObject*) const; bool isDirectChild (const FObject*) const;
bool isWidget() const; bool isWidget() const;
bool isInstanceOf (const char[]) const; bool isInstanceOf (const char[]) const;
bool isTimerInUpdating() const; bool isTimerInUpdating() const;
@ -205,7 +205,7 @@ inline bool FObject::hasChildren() const
{ return bool( ! children_list.empty() ); } { 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 ); } { return bool( obj->getParent() == this ); }
//---------------------------------------------------------------------- //----------------------------------------------------------------------