File: tox.ini

package info (click to toggle)
python-msrest 0.6.21-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, trixie
  • size: 836 kB
  • sloc: python: 8,599; makefile: 8; sh: 1
file content (17 lines) | stat: -rw-r--r-- 463 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[tox]
envlist=py27, py36
skipsdist=True

[testenv]
setenv =
    PYTHONPATH = {toxinidir}:{toxinidir}/msrest
    PythonLogLevel=30
deps=
    -rdev_requirements.txt
commands_pre=
    autorest: bash ./autorest_setup.sh
commands=
    pytest --cov=msrest tests/
    autorest: pytest --cov=msrest --cov-append autorest.python/test/vanilla/
    coverage report --fail-under=40
    coverage xml --ignore-errors  # At this point, don't fail for "async" keyword in 2.7/3.4