Closed terriyu closed 6 years ago
We can also test the latest Python 2 using Homebrew on OS X in Travis, using the same method described earlier. So that covers both the latest versions of Python 2 (v2.7) and Python 3 (v3.6), though not the earlier versions of Python 3. (For Linux, we also test Python 3.4 and 3.5)
Unless something breaks and we need to use an older version of Python, we probably don't need to test on older versions. Testing on the latest Python 2 and Python 3 should be sufficient. As of now, we won't work on this issue further.
Currently, there is no official Python support for OS X on Travis. For full details, see the GitHub issue #2312.
There are hacks to run multiple Python versions on OS X in Travis continuous integration. For example, one can use utilities here. But it makes the build more complicated.
For simplicity, we get around the lack of Python official support by using Homebrew to install the latest Python 3 in a virtualenv as described here. This only works for a single version of Python.
If there is time later, we might try supporting multiple Python versions.