]> granicus.if.org Git - curl/commitdiff
travis: install krb5-user only for --with-gssapi build
authorMarcel Raad <Marcel.Raad@teamviewer.com>
Tue, 2 Apr 2019 12:46:23 +0000 (14:46 +0200)
committerMarcel Raad <Marcel.Raad@teamviewer.com>
Thu, 11 Apr 2019 19:14:07 +0000 (21:14 +0200)
Reduces the time needed for the other jobs a little.

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

.travis.yml

index dc6933453d7d9c260bb929b38168fffa14b58e20..5514bbc25ec061b75cb7dddbc4aabe89b19fc606 100644 (file)
@@ -31,7 +31,6 @@ addons:
             - libidn2-0-dev
             - libssh2-1-dev
             - libssh-dev
-            - krb5-user
             - autopoint  # for libpsl that needs autoreconf that uses gettext that needs it
             - libunistring-dev # for libidn2 needed by libpsl
             - libnss3-dev
@@ -46,6 +45,13 @@ matrix:
           env:
               - T=normal C="--with-gssapi --with-libssh2" CHECKSRC=1
               - OVERRIDE_CC="CC=gcc-8" OVERRIDE_CXX="CXX=g++-8"
+          addons:
+              apt:
+                  sources:
+                      - *common_sources
+                  packages:
+                      - *common_packages
+                      - krb5-user
         - os: linux
           compiler: gcc
           dist: trusty