diff options
author | Peter Wu <peter@lekensteyn.nl> | 2020-05-10 12:07:38 +0200 |
---|---|---|
committer | Peter Wu <peter@lekensteyn.nl> | 2020-05-16 13:41:17 +0200 |
commit | 2c598cc77822b27eef5ee6c2810ed6da49ff95bf (patch) | |
tree | 3bbe66799c949c718734ccb66ea5e42cfcf2c10a /scripts/travis/before_script.sh | |
parent | 1753e4140b1eea1b26a9bab61cd36a645a9ba1fe (diff) |
travis: upgrade to bionic, clang-9, improve readability
Changes, partially to reduce build failures from external dependencies:
- Upgrade Ubuntu and drop unnecessary third-party repos.
- Properly clone apt config to ensure retries.
- Upgrade to clang-9 from the standard repos.
- Use Ubuntu 20.04 focal for the libssh build, use of ssh_get_publickey
fails on -Werror=deprecated-declarations in Ubuntu 18.04. Do not use
focal everywhere yet since Travis CI has not documented this option.
In focal, python-impacket (Py2.7) has been removed, leaving only
python3-impacket. Since it is only needed for SMB tests and not SSH,
skip it for the libssh job since it might need more work.
- apt: Remove gcc-8 and libstdc++-8-dev, already installed via g++-8.
Non-functional cleanups:
- Simplify test matrix, drop redundant os and compiler keys.
- Deprecation fixes: remove sudo, rename matrix -> jobs.
- Every job has an 'env' key, put this key first in a list item.
Closes #5370
Diffstat (limited to 'scripts/travis/before_script.sh')
0 files changed, 0 insertions, 0 deletions