aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Raad <Marcel.Raad@teamviewer.com>2019-04-02 14:51:21 +0200
committerMarcel Raad <Marcel.Raad@teamviewer.com>2019-04-11 21:14:09 +0200
commit157147f0b064d7854f32a98e155dc33c9b0eee84 (patch)
tree753925093062418e4735142db1f25d52e0b90ced
parentc3d5f400a4025b80c48727e80d1bd998b80abeef (diff)
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
-rw-r--r--.travis.yml8
1 files changed, 7 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 5514bbc25..263af2aad 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -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