File: tox.ini

package info (click to toggle)
python-userpath 1.9.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 232 kB
  • sloc: python: 771; makefile: 21; sh: 16
file content (37 lines) | stat: -rw-r--r-- 540 bytes parent folder | download | duplicates (3)
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]
skip_missing_interpreters = true
envlist =
    3.7
    coverage

[testenv]
usedevelop = true
passenv = APPVEYOR
deps =
    -rrequirements-dev.txt
commands =
    coverage run -m pytest -v {posargs}

[testenv:coverage]
skip_install = true
deps = coverage
commands =
    coverage combine
    coverage report

[testenv:codecov]
skip_install = true
passenv =
    APPVEYOR
    APPVEYOR_*
    CI
    CODECOV_*
    TOXENV
    TRAVIS
    TRAVIS_*
deps =
    coverage
    codecov
commands =
    coverage xml
    codecov -X gcov -f coverage.xml