| 1 | [tox] |
| 2 | envlist=py27,py36,py27sa8,py36sa8,qa |
| 3 | |
| 4 | [testenv] |
| 5 | deps= |
| 6 | pytest |
| 7 | commands= |
| 8 | python -c "import sys, sqlalchemy; print('python:', sys.version); print('sqlalchemy:', sqlalchemy.__version__)" |
| 9 | pytest -vv |
| 10 | python tests/issue_13.py |
| 11 | |
| 12 | [testenv:py27sa8] |
| 13 | basepython=python2.7 |
| 14 | deps= |
| 15 | sqlalchemy>=0.8,<0.9 |
| 16 | {[testenv]deps} |
| 17 | |
| 18 | [testenv:py36sa8] |
| 19 | basepython=python3.6 |
| 20 | deps= |
| 21 | {[testenv:py27sa8]deps} |
| 22 | |
| 23 | [testenv:qa] |
| 24 | basepython=python3.6 |
| 25 | deps= |
| 26 | flake8 |
| 27 | yapf==0.16.1 |
| 28 | commands= |
| 29 | python -c "import flake8; print('flake8:', flake8.__version__)" |
| 30 | python -c "import yapf; print('yapf:', yapf.__version__)" |
| 31 | flake8 --exclude=.tox,dist,docs,*.egg |
| 32 | yapf -r -d sadisplay tests examples setup.py |