Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix installation to make every Travis CI job pass
- Replace Python 3.7 by 3.7-dev since 3.7 doesn't exist on Travis CI (though [1] states that 3.7, 3.7-dev, 3.8-dev and nightly don't work on Trusty because of its old OpenSSL version, the 3.7 doesn't exist and 3.7-dev seem to be the same to nightly) - Fix the broken pip on Python 2.6 and 3.2 from Travis CI, installing it (as well as wheel and setuptools) with the get-pip.py script specific to these Python versions - Install a newer virtualenv on Python 2.6, since virtualenv 15.1 had been forcing an older pip which is broken on this Python version - List the environment packages installed during the build - Install an older version of PyYAML on Python 3.2 (actually, PyYAML 3.13 seem to require Python 2.7 or Python 3.4+, as stated in [2], but nothing wrong happened on the tests on Python 2.6/3.3) - Force Cython < 0.27 on Python 3.2, since it's required to install PyYAML from the source distribution Some of these requirements are Travis-specific, e.g. Cython doesn't need to be installed on a ubuntu:trusty Docker image that installed Python 3.2 from the deadsnakes PPA, but it's hard to tell why the CI environment with the same packages in the same version behaves differently [1] https://docs.travis-ci.com/user/languages/python [2] https://pyyaml.org/wiki/PyYAML
- Loading branch information