You are pretty safe to rely on some version of Python 2 and Python 3 from Homebrew to be present because it’s a widely used dependency. But not on its version.
You can use pyenv but it builds versions from source which takes time
you can add the resulting installed subtree to Travis cache though but will need to add the necessary logic to detect a cached version and avoid rebuilding (hint: pyenv install -s)
travis_0.01s0.01s3.6 is not installed; attempting download
Downloading archive: https://storage.googleapis.com/travis-ci-language-
archives/python/binaries/osx/10.13/x86_64/python-3.6.tar.bz20.19s$ curl -sSf --retry 5 -o python-3.6.tar.bz2 ${archive_url}
curl: (22) The requested URL returned error: 404
Unable to download 3.6 archive. The archive may not exist. Please consider a different version.
Well, but the point is different; obviously, the image changed xcode9.4 even image should be frozen…
Also, the env variable DISPLAY is not passed on properly as other tests are freezing because of a suppressed input waiting…
There’s no guarantee in the docs that “image should be frozen”. Previously, Travis staff did say that “images were frozen” on a number of occasions and that caused many complaints because they wouldn’t fix bugs in them.
well, on the other hand, it is like changes something in released SW. now my case is that I debug it for a particular version and suddenly it fails without any external (mine) change… this is very inconvenient behaviour… I guess they want to make a change in 9.4, then they should release 9.5