53 Commits

Author SHA1 Message Date
Cosimo Lupo
6fb4153c8d [travis] don't run coverage for python 2.7.6
as it does not change from the other 2.7 build
2017-10-20 12:19:04 +02:00
Cosimo Lupo
b2cd8178dd [travis] export a different PYENV_ROOT
https://travis-ci.org/fonttools/fonttools/jobs/290377841#L506
2017-10-20 12:02:21 +02:00
Cosimo Lupo
78eb7ebc5d [travis] also test on python 2.7.6
We install python 2.7.6 using pyenv.

This should help us catch issues like this earlier
https://github.com/fonttools/fonttools/issues/993
2017-10-20 11:47:31 +02:00
Cosimo Lupo
323bddad59 [travis] test on python 3.5 instead of 3.6 on osx
That's the one which is installed with `brew install python3` when
we don't update Travis' homebrew.

3.5 is good enough, we already test 3.6 on Linux anyway, and most
developers run test locally on their macs with python3.6 anyway
2017-10-16 11:22:35 +02:00
Cosimo Lupo
fba91d4f58 [travis] disable homebrew auto-update to speed up osx build
export HOMEBREW_NO_AUTO_UPDATE=1

https://github.com/Homebrew/brew/blob/master/Library/Homebrew/manpages/brew.1.md.erb#L194-L196
2017-10-16 11:08:00 +02:00
Cosimo Lupo
b110d9d624 Revert "[Travis] simply comment-out osx python3.6 build"
This reverts commit d4af7c84c01af8f89bcd8a7c0ea83462b7249ace.
2017-10-12 15:32:48 +01:00
Cosimo Lupo
d4af7c84c0 [Travis] simply comment-out osx python3.6 build
I gave up.. too complicated to configure 'allow_failures' without
messing things up.
2017-10-09 14:11:46 +01:00
Cosimo Lupo
1d9305dc08 Revert "[Travis] temporarily let osx python3.6 build fail"
This reverts commits 3693309c651e07f90a95157ec097f81fb6a7def5,
eba71efeecc2702081fb17c6091f70bf0545108f and 5ae9ce60c6a122f27d001fa7beebde3a8e0e98d1.
2017-10-09 14:08:18 +01:00
Cosimo Lupo
5ae9ce60c6 [Travis] still fiddling with .travis.yml...
https://travis-ci.org/fonttools/fonttools/builds/285560888
2017-10-09 14:04:07 +01:00
Cosimo Lupo
eba71efeec [Travis] fix syntax error in .travis.yml 2017-10-09 13:54:40 +01:00
Cosimo Lupo
3693309c65 [Travis] temporarily let osx python3.6 build fail
until the issue with Travis/Homebrew is fixed

https://github.com/fonttools/fonttools/issues/1068
2017-10-09 13:47:19 +01:00
Cosimo Lupo
5224662dc1 [Travis] enable fast_finish
With "fast_finish" enabled, Travis CI will mark builds as finished
as soon as a job has already failed (or the only remaining ones are
allowed to fail).

https://blog.travis-ci.com/2013-11-27-fast-finishing-builds/
2017-10-03 11:40:48 +01:00
Cosimo Lupo
03064b60c4 [travis] run tests on latest pypy2.7-5.8.0 2017-07-24 16:48:04 +01:00
Cosimo Lupo
9c3e499d2a
[travis] test on more recent pypy-5.3.1
Travis CI workers now come with a more up-to-date pypy.
2017-05-30 14:00:38 +01:00
Cosimo Lupo
61ab1e7f6d
build sdist/wheel only once for both Github and PyPI
This makes sure we upload the same files to Github Releases and PyPI.

Currently we were building them twice, with the risk of different files
being uploaded to the two repositories.
2016-12-26 19:36:08 +00:00
Cosimo Lupo
4fcbebcb38
.travis/*.sh: use homebrew python3 instead of compiling python3 from source with pyenv
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.
2016-12-26 18:38:37 +00:00
Cosimo Lupo
c65a6548bd
.travis.yml: run tests with coverage for all pythons, not just 3.5
Running coverage.py on pypy takes twice as long, not worth it.
2016-12-26 18:32:25 +00:00
Cosimo Lupo
6125d0190d
.travis.yml: add Python 3.6; remove Jython 2016-12-25 18:07:35 +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
30799bb6df [travis] also drop 3.4 for OSX; only run 2.7 and 3.5 2016-10-14 18:07:17 +01:00
Cosimo Lupo
e4a3d4aba4 [travis] don't test on OSX pypy any more
I believe it's enough to test pypy implementation only on Linux.
We don't really need to also test it in on OSX, as fonttools is a pure python project so it should just work there as well.
Travis CI has just become too slow...
2016-10-14 17:41:22 +01:00
Cosimo Lupo
f6362b0ebf Revert ".travis.yml: also test with built-in Python 2.7 on OSX 10.11"
This reverts commit a63e1ed5d37797ee361b0a23d09bf8a03aaee23d.

The default OSX Travis worker is now osx10.11-xcode7.3 so we don't need to separately test the latter as it's now default.

Also, since the OSX are getting quite slow lately, we can't afford to test two different python2.7 on OSX; so from now on we just test the system Python 2.7.11 that comes with El Capitan (so no more 2.7.5 on Mavericks).
2016-10-14 17:31:16 +01:00
moyogo
fbbc344556 appveyor, travis: use fonttools-dev@googlegroups.com 2016-09-27 20:52:09 +01:00
Cosimo Lupo
728774587d [travis] also deploy to Github Releases on tags 2016-09-27 16:36:19 +01:00
Cosimo Lupo
0f7bc8f710 .travis.yml: define $BUILD_DIST environment variable on Python 3.5 (Linux) 2016-09-27 00:04:14 +01:00
Cosimo Lupo
375785ca2a .travis.yml: re-generate encrypted secure PyPI password to fix Travis dpl raising HTTPError 401
https://travis-ci.org/behdad/fonttools/jobs/162925225#L2712
2016-09-26 23:26:36 +01:00
Cosimo Lupo
b6ab441a1a .travis.yml: drop Python 3.3 support 2016-08-06 19:29:35 +01:00
Cosimo Lupo
900a250896 .travis.yml: enable automatic PyPI deployment from Travis upon tags 2016-08-06 13:10:52 +01:00
Cosimo Lupo
ce15359dc4 travis: set 'osx_image' to 'xcode7.3' instead of 'osx10.11'
https://docs.travis-ci.com/user/languages/objective-c#Supported-Xcode-versions
2016-04-28 15:39:59 +01:00
Cosimo Lupo
f8b309a28d travis: use pyenv to install Jython 2.7.0 2016-04-15 10:19:22 +01:00
Cosimo Lupo
215ab5bec3 travis.yml: add 'coveralls' tox environment to the matrix (use py35 on Linux) 2016-04-11 01:11:01 +01:00
Cosimo Lupo
258e53044d Revert ".travis.yml: temporarily disable py27-osx10.11 until pip installation issue is fixed"
This reverts commit 15392729ae9800a29bc04649d48c08093b67ec95.

Fixes #473.
2016-01-22 12:02:45 +00:00
Cosimo Lupo
15392729ae .travis.yml: temporarily disable py27-osx10.11 until pip installation issue is fixed
https://github.com/pypa/pip/issues/3392
2016-01-20 10:07:41 +00:00
Cosimo Lupo
a63e1ed5d3 .travis.yml: also test with built-in Python 2.7 on OSX 10.11 2015-12-12 19:28:59 +00:00
Cosimo Lupo
c5b96cfe98 .travis.yml: run tox command using run.sh script 2015-12-12 19:28:58 +00:00
Cosimo Lupo
bcc95eebfa .travis.yml: run tests on both Linux and OSX; use tox to setup virtual env and install deps, and pytest to discover/run tests 2015-12-12 18:11:59 +00:00
Cosimo Lupo
59ddee620e .travis.yml: switch container-based infrastructure; don't install gcc++ 4.8 as it requires sudo 2015-12-09 12:57:25 +00:00
Cosimo Lupo
cf310d4ff7 [Travis] also test against newly released Python 3.5.0 2015-09-14 16:01:14 +01:00
Behdad Esfahbod
80966aa7e3 Revert "[travis] compile Brotli using build_ext --libraries=stdc++ on pypy3"
This reverts commit 76dbfef6d4bb11eb4c796f26ebebe1045b6dbbf8.

We don't support pypy3 anymore, until it's updated to 3.3, which shouldn't need
this fix.
2015-08-24 11:48:07 +01:00
Behdad Esfahbod
a3f3da4aa9 [Travis] Disable pypy3 until Travis updates it to >= 3.3 2015-08-24 11:47:21 +01:00
Cosimo Lupo
76dbfef6d4 [travis] compile Brotli using build_ext --libraries=stdc++ on pypy3
Fixes https://github.com/behdad/fonttools/issues/339
2015-08-21 01:31:28 +02:00
Cosimo Lupo
7ef718b9c5 Revert "[travis] try python -c 'import brotli' to debug pypy3 build failing"
This reverts commit ecba74224a13b5d3bf9c0ca0829e63357086d19c.
2015-08-20 01:27:31 +01:00
Cosimo Lupo
ecba74224a [travis] try python -c 'import brotli' to debug pypy3 build failing 2015-08-19 23:58:18 +01:00
Cosimo Lupo
7c35e848fb [travis] install gcc 4.8 for better C++11 support (required to build Brotli) 2015-08-07 18:23:41 +01:00
Cosimo Lupo
8d02c3a680 [travis] install brotli via pip requirements.txt 2015-08-07 18:23:41 +01:00
Behdad Esfahbod
9fe2b3fb15 Drop Python 3.2 as well 2015-06-11 14:01:39 -07:00
Behdad Esfahbod
3254f4039a Drop Python 2.6 support 2015-06-11 13:36:59 -07:00
Behdad Esfahbod
f1ec43cefa [TravisCI] Test on pypy and pypy3 as well 2015-04-07 19:12:08 -07:00
Behdad Esfahbod
f7861e5e58 Add a minimal Makefile that calls setup.py 2015-04-07 18:27:23 -07:00
Behdad Esfahbod
f192400039 Fix checks; add run-tests.sh 2015-03-03 09:57:41 -08:00