]> granicus.if.org Git - curl/commitdiff
travis: install lcov only for the coverage job
authorMarcel Raad <Marcel.Raad@teamviewer.com>
Tue, 2 Apr 2019 12:35:19 +0000 (14:35 +0200)
committerMarcel Raad <Marcel.Raad@teamviewer.com>
Thu, 11 Apr 2019 19:13:58 +0000 (21:13 +0200)
Reduces the time needed for the other jobs a little.

Closes https://github.com/curl/curl/pull/3721

.travis.yml

index ed8c9d4a855ac050da522547ace28381aa9d8162..dc6933453d7d9c260bb929b38168fffa14b58e20 100644 (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