travis: install libssh-dev only for --with-libssh 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:51:21 +02:00
parent c3d5f400a4
commit 157147f0b0
No known key found for this signature in database
GPG Key ID: FE4D8BC5EE1701DD
1 changed files with 7 additions and 1 deletions

View File

@ -30,7 +30,6 @@ addons:
- stunnel4
- libidn2-0-dev
- libssh2-1-dev
- libssh-dev
- autopoint # for libpsl that needs autoreconf that uses gettext that needs it
- libunistring-dev # for libidn2 needed by libpsl
- libnss3-dev
@ -58,6 +57,13 @@ matrix:
env:
- T=normal C=--with-libssh
- OVERRIDE_CC="CC=gcc-8" OVERRIDE_CXX="CXX=g++-8"
addons:
apt:
sources:
- *common_sources
packages:
- *common_packages
- libssh-dev
- os: linux
compiler: gcc
dist: trusty