20 Commits

Author SHA1 Message Date
Cosimo Lupo
4f6147460d
remove versioneer (see discussion at #767) 2016-12-14 12:14:43 +00:00
Cosimo Lupo
df73cc5b32
[travis] always do git fetch --unshallow to get tags for computing version
Otherwise some tests that checks for the version string may fail:
https://travis-ci.org/fonttools/fonttools/jobs/172478473#L1155
2016-11-02 09:33:19 +00:00
Cosimo Lupo
2611ec2cff
[travis] only make dist in before_deploy stage; use 'file_glob' to get files for Github Releases 2016-11-02 09:30:18 +00:00
Cosimo Lupo
941234c93d [travis] test on latest PyPy 5.4.1 2016-10-14 17:43:05 +01:00
Cosimo Lupo
728774587d [travis] also deploy to Github Releases on tags 2016-09-27 16:36:19 +01:00
Cosimo Lupo
690b0efb0e .travis/run.sh: if $BUILD_DIST is true, do git fetch --unshallow
Else Travis only clones the last 50 commits, and `git describe` doesn't work.
2016-09-27 00:04:14 +01:00
Cosimo Lupo
3d8044ab92 travis: install latest python versions 3.4.5, 3.5.2 and pypy-5.3.1
remove unused py33 case
2016-08-19 10:04:39 +01:00
Cosimo Lupo
edb9c721ae travis: get pyenv from upstream repo
Jython 2.7.1b3 can now be downloaded from the official yyuu/pyenv repository.

https://github.com/yyuu/pyenv/pull/577
2016-04-15 16:56:13 +01:00
Cosimo Lupo
834150b316 travis: only install pytest and don't run jython inside virtualenv
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
2016-04-15 10:19:23 +01:00
Cosimo Lupo
a1c962dd2e travis: use pyenv fork to download latest jython beta that fixes pip issues
We shall roll back to the upstreaam pyenv once the PR https://github.com/yyuu/pyenv/pull/577 is merged
2016-04-15 10:19:22 +01:00
Cosimo Lupo
af35faeb2f travis: just call py.test in jython, as tox doesn't work; ignore test failures for now 2016-04-15 10:19:22 +01:00
Cosimo Lupo
0549eb0d57 travis: try using jython 2.7.1b2; don't install from requirements.txt on Jython to avoid RuntimeError
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)
2016-04-15 10:19:22 +01:00
Cosimo Lupo
f8b309a28d travis: use pyenv to install Jython 2.7.0 2016-04-15 10:19:22 +01:00
Cosimo Lupo
893d5d795a travis/run.sh: simplify 2016-04-11 02:20:19 +01:00
Cosimo Lupo
573cf4c266 travis/install.sh: don't use brew to install pyenv on OS X as it's too slow; just clone from git like in Linux 2016-04-11 02:19:44 +01:00
Cosimo Lupo
0be1d722dc test on more recent pypy-5.0.0 (the latest one is 5.0.1 but is not yet available to install via pyenv) 2016-04-08 22:04:28 +01:00
Cosimo Lupo
3495029726 [.travis/install.sh] pip install from dev-requirements.txt 2016-02-07 01:19:45 +00:00
Cosimo Lupo
8d4f59b4c3 .travis/install.sh: install pyenv only if it isn't already 2015-12-12 19:28:58 +00:00
Cosimo Lupo
da981c754e .travis/run.sh: shell script to activate virtual environment and run tox 2015-12-12 19:28:58 +00:00
Cosimo Lupo
c6c1a96136 .travis/install.sh: shell script to install pyenv (used to install various Pythons); install virtualenv and tox 2015-12-12 18:11:59 +00:00