cubicweb/skeleton/tox.ini.tmpl
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 06 Oct 2017 16:59:10 +0200
changeset 12206 cfd25da225c2
parent 12099 5dd20fc21557
child 12341 921dfb88b115
permissions -rw-r--r--
[test] Pin some test dependencies We currently have CI failures because cubes used as test dependencies have been updated to new-style cube layout. To avoid this, pin them to previous released. Those dependencies should be removed but in the mean time this should be enough (and backported in all active branches).

[tox]
envlist = py27,py34,flake8

[testenv]
deps =
  pytest
commands =
  {envpython} -m pytest {posargs:test}

[testenv:flake8]
skip_install = true
whitelist_externals =
  flake8
deps =
  flake8
commands = flake8

[flake8]
exclude = cubicweb_%(cubename)s/migration/*,test/data/*,.tox/*