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

@ -7,21 +7,21 @@ compiler:
addons: addons:
apt: apt:
sources: sources:
- ubuntu-toolchain-r-test - ubuntu-toolchain-r-test
packages: packages:
- g++-7 - g++-7
- autotools-dev - autotools-dev
- automake - automake
- autoconf - autoconf
- autoconf-archive - autoconf-archive
- libtool - libtool
- pkg-config - pkg-config
- libglib2.0-dev - libglib2.0-dev
- libncurses5-dev - libncurses5-dev
- gpm - gpm
- libgpm-dev - libgpm-dev
- gperf - gperf
- libcppunit-dev - libcppunit-dev
homebrew: homebrew:
packages: packages:
- autoconf-archive - autoconf-archive
@ -56,12 +56,18 @@ matrix:
apt: apt:
sources: sources:
- ubuntu-toolchain-r-test - ubuntu-toolchain-r-test
packages:
- g++-7
- gpm
- libgpm-dev
- libcppunit-dev
- autoconf-archive
coverity_scan: coverity_scan:
project: project:
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 -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" build_command: "make V=1 -j10"
branch_pattern: master branch_pattern: master
before_install: before_install:
@ -69,7 +75,6 @@ matrix:
- lsb_release -a - lsb_release -a
- uname -a - uname -a
- whoami - whoami
- sudo apt-get install g++-7 gpm libgpm-dev libcppunit-dev autoconf-archive
# Work around broken certificate of scan.coverity.com # 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 curl -s -L https://entrust.com/root-certificates/entrust_l1k.cer -o /usr/local/share/ca-certificates/entrust_l1k.crt
- sudo update-ca-certificates - sudo update-ca-certificates