Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,17 +46,18 @@ 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
- examples=OFF
- 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
Expand Down Expand Up @@ -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:
Expand Down