File: tox.ini

package info (click to toggle)
python-marathon 0.9.0-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 384 kB
  • sloc: python: 1,707; makefile: 183; sh: 32
file content (34 lines) | stat: -rw-r--r-- 683 bytes parent folder | download
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
[tox]
passenv = TRAVIS
usedevelop=True
envlist={test,itest}-{py27,py33},pep8

[testenv]
passenv = TRAVIS MARATHONVERSION DOCKER_HOST DOCKER_TLS_VERIFY DOCKER_CERT_PATH DOCKER_MACHINE_NAME
basepython =
    py27: python2.7
    py33: python3
whitelist_externals=/bin/bash
skipsdist=True
changedir =
  test: {toxinidir}
  itest: {toxinidir}/itests/
deps =
    -rrequirements.txt
    requests-mock==1.0.0
    docker-compose
    behave
    pytest
    mock
commands =
    test: py.test -s -vv {posargs:tests}
    itest: ./itest.sh {posargs}

[testenv:pep8]
basepython = python2.7
deps = flake8
commands = flake8 .

[flake8]
exclude = .tox,*.egg,docs,build,__init__.py
max-line-length = 160