Commit Graph

23 Commits

Author SHA1 Message Date
Brian Wylie 147b81c1e0 restoring tox.ini for code coverage 2021-08-15 10:26:38 -06:00
Brian Wylie 2267246ef5 removing tox; fixup contributing doc; move setup to use readme.md 2021-08-13 15:39:48 -06:00
crocogorical 3d4c9eb43a
Extend python versions testing run against. (#554)
Include python 3.9, and also pypy3
2021-02-07 18:35:56 +00:00
crocogorical 616c65d820
Re-implement coverage testing (#550)
Run coverage testing over all python versions, combine and send to coveralls.
2021-02-06 18:01:54 +00:00
crocogorical a3a888ec30 Update snoop Reader class and implement testing.
Reader now extends new FileReader class, which contains the dispatch / loop methods and access to the underlying file object. This simplifies the snoop reader class and allows the Reader class to implement only snoop-specific methods.

Separate testing implemented for the generic FileReader class.

Updated tox.ini to exclude the code of abstractmethods.
2021-01-24 17:50:35 +00:00
crocogorical 15f260e36b Modify tox config to allow running individual tests. 2021-01-19 22:51:39 +00:00
obormot a1e2ac03db pin pytest-cov too 2020-04-09 10:15:37 -07:00
obormot edeca3fb03 pypy build keeps failing; try with the pinned pytest 2020-04-09 10:10:20 -07:00
obormot 6d24a114f2 add py38 support; drop pinned dependencies 2020-04-07 12:33:48 -07:00
Enji Cooper 1898aa8654 Drop python 2.6 support and add python 3.7 testing
About 2.6:

python 2.6 has been unsupported for at least 4 years. Drop support for
the python version as there have been several changes made in recent
years to fix functional and security bugs with the interpreter, etc.

It's best to upgrade to python 2.7 (if one is stuck on 2.x), or upgrade
to py3.

About 3.7:

python 3.7.0 was released 10 months ago. As such, it's reasonable to add
test coverage to ensure it functions.

It is reasonably close feature-wise to 3.6 that there will unlikely be
any behavioral difference in this package. Some of the benefits of 3.7
over earlier versions is improved `asyncio` module support and general
performance improvements.

More information about what's new in 3.7 can be found
[here](https://docs.python.org/3.7/whatsnew/3.7.html).

* Switch from Trusty (the default Ubuntu distro) to Xenial in order to
  support python 3.7 testing with Travis, as Trusty lacks python 3.7
  support.
* Use pypy3.5 since the pypy package (unversioned) isn't available for
  Xenial, per the
  [Travis CI docs](https://docs.travis-ci.com/user/languages/python/#pypy-support).

Signed-off-by: Enji Cooper <yaneurabeya@gmail.com>
2019-04-20 07:44:30 -07:00
Brian Wylie 5a3bc66721 pinning pytest-cov for now 2019-01-10 13:42:37 -07:00
Brian Wylie 3aa323a807 removing 3.7 for now; will make ticket for it 2018-11-21 13:50:58 -07:00
Oscar 05090b5db7
rm py34, add py36, add py37 (#427) 2018-11-21 12:18:22 -08:00
crocogorical 7a4587f664 Local tests should run against python3.4, as the travis CI build does. (#397) 2018-02-07 13:40:09 -08:00
crocogorical 4b8c3b6c92 Fix test runner python2.6 dependencies (#404)
* Pin to last versions of test running dependencies which support python2.6
2017-11-29 09:04:24 -08:00
Kyle Keppler 433cd5dc52 merging jonathanslenders:python3-compatibility, kbandla:migrate_py3 and kbandla:master
All tests pass in Python 2.7 and Python 3.5
2016-10-26 09:27:12 -04:00
Brian Wylie 0a16746a2e fix the travis coverage invokation issue 2016-08-12 09:27:48 -07:00
Brian Wylie dd4ec619ca fix travis/coveralls 2015-09-25 14:09:10 -06:00
Brian Wylie 443007a976 adding initial docs framing for readthedocs 2015-05-18 17:17:57 -06:00
Brian Wylie 2788613b2c fixing configuration; bumping version 2014-12-29 15:01:20 -07:00
Brian Wylie 11f72ecf3a still dorking with tox and travis 2014-12-29 14:22:56 -07:00
Brian Wylie 9f6d85e40e fixing travis.yml 2014-12-29 14:16:01 -07:00
Brian Wylie 1076faa08d initial work on setup/tox 2014-12-18 08:48:20 -07:00