Commit graph

4 commits

Author SHA1 Message Date
Petr Dlouhý
271c592756 report coverate to Coveralls 2017-02-14 09:47:31 +01:00
Marius Gedminas
ee3b590035 Tell tox to use develop mode
We must do this, because py.test adjusts sys.path to make
'tests.test_foo' importable [*].  When py.test does this, the
'linkcheck' directory at the top of the git tree is the one that gets
imported in the tests.  If we've told pip to use develop mode, all's
fine.  If we haven't, then we're going to get errors because extension
modules like _network.so get installed into
.tox/*/lib/*/site-packages/linkcheck/network and not into
./linkcheck/network/

[*] http://doc.pytest.org/en/latest/goodpractices.html#choosing-a-test-layout-import-rules
2017-02-01 18:24:21 +02:00
Marius Gedminas
97bb57205b Run tox from Travis 2017-02-01 16:18:38 +02:00
Marius Gedminas
d59a153a13 Add a tox.ini 2017-02-01 16:14:47 +02:00