Coverity scan compiler fix

This commit is contained in:
Markus Gans 2019-10-21 02:07:12 +02:00
parent f30bb0f79b
commit 26b00e2b10
1 changed files with 21 additions and 16 deletions

View File

@ -56,12 +56,18 @@ matrix:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-7
- gpm
- libgpm-dev
- libcppunit-dev
- autoconf-archive
coverity_scan:
project:
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 -DUNIT_TEST' --with-unit-test && make clean"
build_command_prepend: "cov-configure --template --comptype gcc --compiler gcc-7 && autoreconf -v --install --force && ./configure --prefix=/usr CPPFLAGS='-DDEBUG' CXXFLAGS='-g -O0 -DDEBUG -DUNIT_TEST' --with-unit-test && make clean"
build_command: "make V=1 -j10"
branch_pattern: master
before_install:
@ -69,7 +75,6 @@ matrix:
- lsb_release -a
- uname -a
- whoami
- sudo apt-get install g++-7 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