This should speed it up a bit, as brew will download a pre-compiled "bottle", whereas pyenv compiles python from source.
The current 'python3' formula on homebrew is 3.6.0, so let's use that.
Previously we were using a separate Travis build that only run coverage with a single Python version (3.5).
Now, we run coverage with all python versions, and upload a combined coverage data to Codecov.io.
Since tox already creates its own test environment, so there's no need to create another virtual environment to install tox into.
This simplifies things a bit.
https://travis-ci.org/anthrotype/fonttools/jobs/123273641
When I do `pip install -r dev-requirements.txt` from within a virtual env,
jython sits for 3-4 minutes doing nothing, then the Travis shell exits with this cryptic error:
/usr/bin/env: python2.7: Argument list too long
I don't know why but when I `pip install -r requirements.txt` on Jython,
it always raises a Java StackOverflowError.
If I install the deps individually, it works...
$ pip install -v -r dev-requirements.txt
Exception:
Traceback (most recent call last):
File "fonttools-jy271b2/Lib/site-packages/pip/basecommand.py", line 209, in main
status = self.run(options, args)
File "fonttools-jy271b2/Lib/site-packages/pip/commands/install.py", line 285, in run
self.populate_requirement_set(
File "fonttools-jy271b2/Lib/site-packages/pip/basecommand.py", line 286, in populate_requirement_set
for req in parse_requirements(
File "fonttools-jy271b2/Lib/site-packages/pip/req/req_file.py", line 89, in parse_requirements
for line_number, line in lines_enum:
File "fonttools-jy271b2/Lib/site-packages/pip/req/req_file.py", line 323, in ignore_comments
for line_number, line in lines_enum:
File "fonttools-jy271b2/Lib/site-packages/pip/req/req_file.py", line 298, in join_lines
if COMMENT_RE.match(line):
RuntimeError: maximum recursion depth exceeded (Java StackOverflowError)