Travis CI Linux Build Environments can't clone from BitBucket anymore (mercurial)

Travis CI Linux Environments are unable to clone mercurial repositories from, since they’ve disabled support for TLS 1.0 and 1.1 and the mercurial clients in the Linux Environment are not up to date enough.

warning: connecting to using legacy security technology (TLS 1.0); see for more info
(using CA certificates from /etc/ssl/certs/ca-certificates.crt; if you see this message, your Mercurial install is not properly configured; see for how to configure Mercurial to avoid this message)
abort: error: _ssl.c:510: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number

Link to an actual failure:

1 Like

Try using Xenial, please.

That works! Thanks! I’ll get us moved over.

Is the general recommendation to move to xenial? Any ETA on trusty support dying?

1 Like

According to and , only Python 2.7.9+ supports TLS 1.2, and Trusty ships with 2.7.5. Moreover, it ships with openssl1.0.1f which has the Heartbleed bug (for one-off VMs behind a NAT it’s not a very big deal, but it probably incites other people to keep supporting this vulnerable Ubuntu version).

So it’s probably a wise move to drop support.