travis: install lcov only for the coverage job

Reduces the time needed for the other jobs a little.

Closes https://github.com/curl/curl/pull/3721
This commit is contained in:
Marcel Raad 2019-04-02 14:35:19 +02:00
parent c6acd33370
commit 22c28284f6
No known key found for this signature in database
GPG Key ID: FE4D8BC5EE1701DD

View File

@ -22,7 +22,6 @@ addons:
packages: &common_packages
- cmake
- gcc-8
- lcov
- valgrind
- libev-dev
- libc-ares-dev
@ -233,6 +232,13 @@ matrix:
env:
- T=coverage
- OVERRIDE_CC="CC=gcc-8" OVERRIDE_CXX="CXX=g++-8"
addons:
apt:
sources:
- *common_sources
packages:
- *common_packages
- lcov
- os: linux
compiler: gcc
dist: trusty