Commit Graph

45 Commits

Author SHA1 Message Date
Brian Warner
8cfdc4c9bc README: drop python3.4 support
Python3.4 is no longer maintained (PEP 429 says March 2019 was the EOL date),
and the current version of pip (19.1) is the last to support it, so it's time
to let go.

* remove py34 from .travis.yml so PRs don't fail spuriously (there's some
  problem with txtorcon and twisted that only happens on py3.4)
2019-07-05 15:50:00 -07:00
Brian Warner
49ab25ff34 add 'tox -e docs', travis job to exercise it 2019-05-05 18:02:00 -04:00
Brian Warner
41129faca5 travis: run flake8less, not the full flake8 2019-02-10 11:10:39 -08:00
Brian Warner
31de77a875 travis: py37 should no longer require sudo
(once upon a time, sudo:true was necessary to get onto a GCE instance, which
has xenail which has py37)
2019-02-10 11:08:00 -08:00
Brian Warner
b65678e5d2 travis: mark FLAKE8 build with an env 2019-02-10 11:07:43 -08:00
Brian Warner
42d849fe52 tox/travis: improve nodilate testing
'tox' run locally should only exercise sensible combinations (py27-nodilate,
py34-nodilate, py35/36/37 with dilate). Travis will run exactly these by
using a different script for each version of python. Also added a separate
flake8 builder (which uses a small subset of warnings, as the default set is
currently much too noisy).
2019-02-10 11:02:15 -08:00
Brian Warner
803aa07f35 travis: don't test dilation on py3.4 either 2018-12-24 23:00:00 -05:00
Brian Warner
942a04952f try to fix travis again
add a new tox target "no-dilate" to use on py2.7, and use "coverage"
everywhere else
2018-12-24 22:54:01 -05:00
Brian Warner
061ff98383 fix travis
don't run all of tox, just a single environment that uses the default
python (selected by travis)
2018-12-24 14:59:13 -05:00
Brian Warner
937a7d93e8 tox: only run coverage on py3.7
tox/coverage doesn't know to avoid the "dilate" extra, so it fails on py2.7
and py3.4
2018-12-24 14:49:25 -05:00
Brian Warner
b0db8add2a travis: stop allowing failures on py2.7 and py3.7
py2.7 now works

py3.7 is now supported by travis
2018-12-24 00:19:58 -05:00
Brian Warner
96f52b931d drop support for py33
current pkg_resources requires py3.4 or newer (or py27)

txtorcon appears to work on py3.4 again, so remove it from allow_failures
2018-12-24 00:16:36 -05:00
Brian Warner
5dca0542eb travis: tolerate py3.4 failure because of txtorcon bug
https://github.com/meejah/txtorcon/issues/306
2018-12-23 15:23:27 -05:00
Brian Warner
39666f3fed travis: tolerate failures in py2.7, 'noiseprotocol' dep is py3-only 2018-12-23 15:22:57 -05:00
Brian Warner
454bf1eaf6 simplify .travis.yml 2018-07-27 14:26:31 -07:00
Brian Warner
d6866e11fe update allow_failures 2018-07-27 14:17:16 -07:00
Brian Warner
2bf9370c68 travis: use different dists/sudo for different python versions 2018-07-27 14:05:30 -07:00
Brian Warner
d893f7d39a try dist:xenial 2018-07-11 17:05:43 -07:00
Brian Warner
43bf219735 travis: use sudo=true and group=edge to get bionic
which maybe can install py37
2018-07-11 16:36:50 -07:00
Brian Warner
9d220bea73 travis: try "dist: xenial"
I don't think this will actually work
2018-07-11 16:13:29 -07:00
Brian Warner
ef32b23fe9 travis: move to 'trusty' dist
the old 'precise' environment doesn't have py3.7 available
2018-07-11 13:30:46 -07:00
Brian Warner
1181a7dba7 travis: require py37 to pass 2018-07-11 13:23:04 -07:00
Brian Warner
eacc6fe450 travis/appveyor: allow failures of the py3.7 build
until they're actually supported by both systems. Neither has a py3.7 image
available yet.
2018-07-01 14:33:28 -07:00
Brian Warner
47e4c436a8 tox/travis/appveyor: enable testing on py3.7 2018-07-01 10:29:48 -07:00
cclauss
17eb84b2a2 *.py (with the dot) 2017-07-23 19:38:46 +02:00
cclauss
19dc466789 flake8 tests in .travis.yml 2017-07-23 18:53:10 +02:00
Brian Warner
598ab8b62a drop py3.3 support, since new txtorcon imports asyncio on py3
py3.3 is pretty rare in the wild anyways
2017-05-24 17:31:43 -07:00
Brian Warner
2d9763e013 travis: tolerate failures on python-nightly
I'm seeing "coverage xml" fail, which indicates some internal problems in the
"coverage" module that aren't our responsibility.
2017-04-23 16:53:12 -04:00
Brian Warner
f1a72aa4a4 travis: 3.6 is supported now
Also add 'nightly' to look for problems with the upcoming python
release (currently 3.7-dev).
2017-01-12 15:14:20 -08:00
Brian Warner
ff619c073e turn on python3.6 builds for tox and travis
Python3.6 was just released a few days ago, and travis hasn't yet added it
for real, so we use "3.6-dev" until they get it deployed completely.
2016-12-27 00:39:58 -05:00
Brian Warner
0f6315b3d7 travis: re-enable codecov.io uploads 2016-07-01 09:28:15 -07:00
Brian Warner
bb47c09ebd travis: disable pypy/pypy3
nevermind.. it appears that travis's pypy (2.6-ish) is too old for
PyNaCl to work, and their pypy3 (3.0-3.2ish) is too. Revisit this when
their images get updated.
2016-06-30 16:14:11 -07:00
Brian Warner
f9f6ed31c9 travis: enable pypy, pypy3 2016-06-30 16:10:36 -07:00
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