travis: install libssh2-dev only for --with-libssh2 build

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:56:18 +02:00
parent 157147f0b0
commit b568511b91
No known key found for this signature in database
GPG Key ID: FE4D8BC5EE1701DD

View File

@ -29,7 +29,6 @@ addons:
- libstdc++-8-dev
- stunnel4
- libidn2-0-dev
- libssh2-1-dev
- autopoint # for libpsl that needs autoreconf that uses gettext that needs it
- libunistring-dev # for libidn2 needed by libpsl
- libnss3-dev
@ -51,6 +50,7 @@ matrix:
packages:
- *common_packages
- krb5-user
- libssh2-1-dev
- os: linux
compiler: gcc
dist: trusty