Commit Graph

12 Commits

Author SHA1 Message Date
Brian Warner
7b6c015233 travis: use tox, temporarily disable coverage
I don't yet know how to get tox to run the equivalent of "coverage run
`which trial` wormhole.test", since tox doesn't use a shell. But I want
to switch travis to tox so we get the same dependencies (in particular
the pyflakes constraint) everywhere. I'll figure out how to re-enable
coverage data soon.
2016-05-06 09:00:02 -07:00
Brian Warner
f3e310acbc travis: we no longer need twisted from trunk 2016-04-20 19:42:24 -07:00
Brian Warner
60079a9fcf travis: add codecov, stop using tox, more
This runs tests directly (with 'coverage run' and 'trial'), rather than
running them inside tox, because that was proving difficult.

It upgrades pip first (the travis builders have an older version), to
use and cache wheels for speed. Travis is now configured to retain the
pip cache between runs.

This installs twisted from trunk (as tox was doing), to work around a
bug in the current twisted-15.5.0 release that should be resolved soon.

Travis is told to ignore any branch named WIP-, so I can transfer
branches between computers without causing red builds.

A coverage report is displayed before uploading to codecov.

The wormhole package is installed as --editable, to make the source
filenames in the coverage data match what I get at home. This also
appears necessary to get codecov to display the data (maybe it ignores
data for files outside the starting directory?).
2016-03-02 14:10:59 -08:00
Brian Warner
101ac4c1af switch to tox for running tests 2016-02-27 14:39:56 -08:00
Brian Warner
80603aaa32 finish py3/async support, needs Twisted >= 15.5.0
The latest Twisted fixes the web.Agent code we need for proper async
support. There's still a daemonization bug that prevents 'wormhole
server start' from succeeding (it hangs).
2015-12-01 00:15:24 -06:00
Brian Warner
f8fdec18a5 stop testing py2.6, since Twisted no longer supports it
README.md: stop claiming compatibility with it.
2015-11-29 01:42:15 -06:00
Brian Warner
ea51617233 travis: we're now py3.3-compatible too 2015-09-28 16:32:49 -07:00
Brian Warner
540fceb795 add py3.4 compatibility
The "bytes % bytes" syntax only appeared on py3.5, so don't use it.

Updated travis to expect py3.4 works.

The twisted side is probably even more broken for py3.4 than it is for
py3.5.
2015-09-28 16:15:55 -07:00
Brian Warner
c261f3e713 py3.5 is now supported, more or less
py3.3/3.4 are broken for various reasons
2015-09-28 01:01:25 -07:00
Brian Warner
0cd7471c06 travis: turn on py3 testing (failures allowed) 2015-09-26 18:32:02 -07:00
Brian Warner
9c94871e74 travis: use sudo:false for faster builds 2015-09-22 13:33:04 -07:00
Brian Warner
20e35f1b1e enable travis 2015-06-20 18:30:19 -07:00