File: tox.win.ini

package info (click to toggle)
python-dcos 0.2.0-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 1,188 kB
  • sloc: python: 8,196; sh: 194; makefile: 28
file content (30 lines) | stat: -rw-r--r-- 583 bytes parent folder | download | duplicates (2)
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
[tox]
envlist = py{27,34}-unit

[testenv]
setenv =
  DCOS_CONFIG = {env:DCOS_CONFIG}
  EXHIBITOR_URL = {env:EXHIBITOR_URL}
deps =
  teamcity-messages
  pytest
  pytest-cov
  pypiwin32

[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 -vv {env:CI_FLAGS:} --cov {envsitepackagesdir}/dcos tests

[testenv:py34-unit]
commands =
  py.test -vv {env:CI_FLAGS:} --cov {envsitepackagesdir}/dcos tests