forked from dcos/dcos-cli
-
Notifications
You must be signed in to change notification settings - Fork 1
/
tox.ini
27 lines (22 loc) · 586 Bytes
/
tox.ini
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
[tox]
envlist = syntax, py{27,34}-unit
[testenv]
deps =
teamcity-messages
pytest
pytest-cov
passenv = DCOS_* CI_FLAGS CLI_TEST_SSH_KEY_PATH
[testenv:syntax]
deps =
teamcity-messages
flake8
isort
commands =
flake8 --verbose {env:CI_FLAGS:} dcos tests setup.py
isort --recursive --check-only --diff --verbose dcos tests setup.py
[testenv:py27-unit]
commands =
py.test -p no:cacheprovider -vv {env:CI_FLAGS:} --cov {envsitepackagesdir}/dcos tests
[testenv:py34-unit]
commands =
py.test -p no:cacheprovider -vv {env:CI_FLAGS:} --cov {envsitepackagesdir}/dcos tests