Commit Graph

34 Commits

Author SHA1 Message Date
Stein Magnus Jodal
7a0ade4112 tox: Remove pytest-xdist
This seems to fix the Travis build that recently started getting an
ImportError on `gobject`.
2018-09-29 23:32:30 +02:00
Stein Magnus Jodal
a61cdf4823 Merge branch 'release-2.1' into develop 2018-09-19 22:26:36 +02:00
Stein Magnus Jodal
0efbe981f5 tox: Ensure Sphinx from within tox env is used 2018-09-19 21:33:43 +02:00
Stein Magnus Jodal
2a0710876b tox: Upgrade pytest from <3.3 to >=3.3 2018-04-01 01:33:28 +02:00
Stein Magnus Jodal
95577206a0 Require tornado >= 4.4 2018-03-29 20:51:01 +02:00
Stein Magnus Jodal
1f09ef6b84 tests: Use pytest<3.3 to avoid breaking changes 2018-03-29 11:08:41 +02:00
Nick Steel
79d42c34af
Pin older version of pytest to avoid breaking change
This is a temporary workaround
2018-02-13 13:00:48 +00:00
Stein Magnus Jodal
b0bf0ecb15 Use pytest command instead of py.test 2017-06-07 23:00:10 +02:00
Stein Magnus Jodal
bbeb5c03aa Require Tornado >= 3.2
Survey of version available in the oldest distros we care about:

- Debian 8, squeeze: 3.2.2
- Debian 8, squeeze-backports: 4.2.0
- Ubuntu 16.04 LTS: 4.2.1
- Arch Linux: 4.4.2
2016-10-26 00:39:42 +02:00
Stein Magnus Jodal
70a07373ad flake8: Reenable flake8-import-order 2016-10-25 23:55:05 +02:00
Thomas Adamcik
c199fb1c81 lint: Workaround and fix to account for new version of flake8 2016-07-25 21:16:30 +02:00
Gustaf Hallberg
dd44a619f2 Fixes based on review 2015-10-23 20:35:04 +02:00
Gustaf Hallberg
8ebe9f59fd Run sphinx linkcheck in tox. Fixes for a bunch of fixes for such. 2015-10-21 21:32:21 +02:00
Stein Magnus Jodal
354f7f87f1 Revert "tox: Test if coverage data is readable if not using pytest-xdist"
This reverts commit 6bfb250f2a.
2015-09-07 23:02:47 +02:00
Stein Magnus Jodal
6bfb250f2a tox: Test if coverage data is readable if not using pytest-xdist 2015-09-07 21:55:59 +02:00
Stein Magnus Jodal
42ffa72e00 tox: Remove xunit files previously used by Jenkins 2015-09-07 21:14:29 +02:00
Stein Magnus Jodal
c4faf37bf4 Add a dev dependency on pytest-capturelog 2015-07-26 11:24:39 +02:00
Stein Magnus Jodal
16f80ccb8d Add a dependency on Requests
And on Responses for mocking Requests calls in tests.
2015-07-26 11:20:59 +02:00
Stein Magnus Jodal
733732405f tox: Use better coverage report 2015-03-05 22:59:42 +01:00
Stein Magnus Jodal
67a41b980a tox: Run tests with 4 processes in parallel 2015-03-05 12:28:31 +01:00
Stein Magnus Jodal
d89041e1d3 tox: Pass args to py.test, include pytest-xdist 2015-03-05 09:16:58 +01:00
Stein Magnus Jodal
c916fcb421 tox: Use env specific tmpdir for py.test 2015-03-05 09:16:32 +01:00
Stein Magnus Jodal
2280a533c0 Use py.test as test runner 2015-03-05 00:35:20 +01:00
Thomas Adamcik
f30ca831b6 tests: Add pep8-naming to tox flake8 env 2014-12-30 00:32:03 +01:00
Thomas Adamcik
c0ae202670 tests: Update tox flake8 settings
Run with show source so we can see the context in travis errors. Add stats for
number of errors. And limit ourselves to mopidy and tests as I happen to have
a tmp folder with non-conforming proof of concept code that I don't want this
to check.
2014-12-30 00:25:33 +01:00
Stein Magnus Jodal
7d5117c299 tox: Update tornado dep 2014-12-07 23:36:14 +01:00
Stein Magnus Jodal
acef38a6c7 tox: Fix Tornado version mismatch in env name and deps 2014-07-29 22:49:50 +02:00
dz0ny
6367b83735 Test with multiple versions of tornado. See #798 2014-07-28 20:48:06 +02:00
Stein Magnus Jodal
9c3ddcd3c8 flake8: Test everything by default, exclude .tox 2014-05-07 20:35:03 +02:00
Stein Magnus Jodal
a4ca3655ad tox: Make flake8 test import order 2014-05-07 19:59:20 +02:00
Stein Magnus Jodal
815b490206 tox: Add tox config file
This allows for testing across multiple environments, including Python 3 in
the not too distant future. The instant bonus is that this allows for testing
the docs build at Travis so I don't make more releases like 0.18.2 with broken
docs.
2014-02-17 12:51:02 +01:00
Stein Magnus Jodal
eeba15e4cc Remove tox.ini
Testing across Python 2.6 and 2.7 with tox is no longer working on systems
which doesn't ship both Python versions by default. I can install Python 2.6 on
a newer Ubuntu system using the deadsnakes PPA, but dependencies installed from
APT, like gobject and gstreamer are still only installed for Python 2.7, thus
making tox useless.
2013-04-14 11:45:38 +02:00
Stein Magnus Jodal
462f1bd893 Make tox work by allowing the use of global site-packages 2011-06-15 22:17:35 +02:00
Stein Magnus Jodal
0c845dd246 Add Tox for testing on both Python 2.6 and 2.7 2011-02-26 17:28:38 +01:00