source: rattail/tox.ini @ 3224f2d

Last change on this file since 3224f2d was 3224f2d, checked in by Lance Edgar <lance@…>, 2 years ago

Always upgrade pip when running tox

  • Property mode set to 100644
File size: 755 bytes
Line 
1
2[tox]
3envlist = py27, py35
4
5[testenv]
6commands =
7        pip install --upgrade pip
8        pip install --upgrade --upgrade-strategy eager rattail[auth,bouncer,db,tests]
9        nosetests {posargs}
10
11[testenv:coverage]
12basepython = python
13deps = invoke
14commands =
15        pip install --upgrade pip
16        pip install --upgrade --upgrade-strategy eager rattail[auth,bouncer,db,tests] appy xlrd
17        nosetests {posargs:--with-coverage --cover-html-dir={envtmpdir}/coverage}
18
19[testenv:docs]
20basepython = python
21deps =
22    Sphinx
23changedir = docs
24commands =
25        pip install --upgrade pip
26        pip install --upgrade --upgrade-strategy eager rattail[auth,bouncer,db,tests]
27        sphinx-build -b html -d {envtmpdir}/doctrees -W -T . {envtmpdir}/docs
Note: See TracBrowser for help on using the repository browser.