blob: d3d4b7ae97cbd4268f3cb8da199d3bd61ff1454d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
[tox]
envlist = py26,py27,py32,py33,py34,py35,pypy,pypy3
[testenv]
deps =
pytest
pytest-cov
mock
unittest2
commands =
py.test \
-v \
--cov \
--cov-config=.coveragerc \
{posargs:.}
setenv =
# Global configs cause unit tests to break.
# Issue: travis-ci/travis-ci#5246
BOTO_CONFIG=/tmp/fake
[testenv:py32]
# Coverage doesn't support py32, so run the tests without coverage reporting.
deps =
pytest
mock
commands =
py.test \
-v \
{posargs:.}
# Note: currently disabled.
[testenv:lint]
deps =
flake8
flake8-import-order
commands =
flake8 --exclude=env --import-order-style=google
|