(original) (raw)

On Mon, Jan 22, 2018 at 11:59 AM, Oleg Broytman <phd@phdru.name> wrote:
On Mon, Jan 22, 2018 at 02:33:01AM -0800, Larry Hastings <larry@hastings.org> wrote:
\> All ... CI tests fail in
> the same way, reporting this error:
\>
\> The command "pyenv global system 3.5" failed and exited with 1 during .

Seems there is a slow workaround (install python 3.5):

https://github.com/travis-ci/travis-ci/issues/8363#issuecomment-354857845

which python3.5 || (pyenv install 3.5.4 && pyenv use system 3.5.4)

There is also https://github.com/praekeltfoundation/travis-pyenv I've found useful when one needs excactness and also to decouple oneself from the Travis side rolling releases of Python. Also caches the Python version for you.

See https://github.com/plone/plone.intelligenttext/blob/a71bdc5b485b1562b2e320f5c41a15286f205f98/.travis.yml for a usage example.

--
Joni Orponen