diff --git a/.travis.yml b/.travis.yml index 58e80c07..92916b06 100644 --- a/.travis.yml +++ b/.travis.yml @@ -46,8 +46,8 @@ matrix: - name: "coverage" if: branch =~ /master|coverage/ env: - - CXX=g++-7 - - CC=gcc-7 + - CXX=g++-8 + - CC=gcc-8 - CXXFLAGS="-O0 --coverage" #build settings - build_type=Debug @@ -55,8 +55,9 @@ matrix: - coverage=true addons: apt: - #we need gcc7 for lcov to work - packages: ['gcc-7', 'g++-7', 'lcov'] + # lcov in bionic does not work with gcc-9 + # lcov/gcov with gcc-8 hits wrong lines + packages: ['lcov', 'gcc-8', 'g++-8'] - name: "clang" if: branch = master @@ -86,7 +87,7 @@ matrix: addons: apt: #we need gcc7 for lcov to work - packages: ['gcc-7', 'g++-7', 'lcov'] + packages: ['lcov', 'gcc-7', 'g++-7'] coverity_scan: project: