travis: disable the libssh build

It can't run on focal and causes warnings on bionic. Since the focal
failure started rather suddenly a while ago, we can suspect it might be
temporary.

Added "bring back the build" to the TODO document.

Fixes #7011
Closes #7012
This commit is contained in:
Daniel Stenberg 2021-05-08 11:10:22 +02:00
parent dbb88523ab
commit f71d3e01ec
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2
2 changed files with 24 additions and 29 deletions

View File

@ -63,25 +63,25 @@ jobs:
- libssh2-1-dev - libssh2-1-dev
- libbrotli-dev - libbrotli-dev
- libzstd-dev - libzstd-dev
- env: # - env:
- T=normal C="--with-openssl --with-libssh" # - T=normal C="--with-openssl --with-libssh"
# Avoid bionic, its pre-release libssh version triggers deprecation warnings. # # Avoid bionic, its pre-release libssh version triggers deprecation warnings.
dist: focal # dist: focal
addons: # addons:
apt: # apt:
<<: *common_apt # <<: *common_apt
packages: # packages:
- cmake # - cmake
- valgrind # - valgrind
- libev-dev # - libev-dev
- libc-ares-dev # - libc-ares-dev
- g++-8 # - g++-8
- stunnel4 # - stunnel4
- libidn2-dev # - libidn2-dev
- gnutls-bin # - gnutls-bin
# The above list is common_packages minus impacket. # # The above list is common_packages minus impacket.
- libssh-dev # - libssh-dev
- ninja-build # - ninja-build
- env: - env:
- T=normal C="--enable-ares --with-openssl" - T=normal C="--enable-ares --with-openssl"
- OVERRIDE_CC="CC=gcc-8" OVERRIDE_CXX="CXX=g++-8" - OVERRIDE_CC="CC=gcc-8" OVERRIDE_CXX="CXX=g++-8"

View File

@ -181,7 +181,7 @@
20.6 Use the RFC6265 test suite 20.6 Use the RFC6265 test suite
20.7 Support LD_PRELOAD on macOS 20.7 Support LD_PRELOAD on macOS
20.8 Run web-platform-tests url tests 20.8 Run web-platform-tests url tests
20.9 Use "random" ports for the test servers 20.9 Bring back libssh tests on Travis
============================================================================== ==============================================================================
@ -1263,13 +1263,8 @@
See https://github.com/curl/curl/issues/4477 See https://github.com/curl/curl/issues/4477
20.9 Use "random" ports for the test servers 20.9 Bring back libssh tests on Travis
Instead of insisting and using fixed port numbers for the tests (even though In https://github.com/curl/curl/pull/7012 we remove the libssh builds and
they can be changed with a switch), consider letting each server pick a tests from Travis CI due to them not working. This should be remedied and
random available one at start-up, store that info in a file and let the test libssh builds be brought back.
suite use that.
We could then remove the "check that it is our server that's running"-check
and we would immediately detect when we write tests wrongly to use hard-coded
port numbers.