Fix coverage reporting

This commit is contained in:
Ivan Kravets
2016-08-05 15:00:15 +03:00
2 changed files with 8 additions and 4 deletions

View File

@ -9,8 +9,10 @@ env:
install:
- git submodule update --init --recursive
- pip install -U pip setuptools tox codecov
- sudo apt-get install -qq lib32z1 lib32ncurses5 lib32bz2-1.0 # temporarily
- pip install -U pip setuptools tox
# temporary hook to fix issue with gcc-pic32
- sudo apt-get install -qq lib32z1 lib32ncurses5 lib32bz2-1.0
script:
- tox -e $TOX_ENV

View File

@ -57,7 +57,6 @@ usedevelop = True
passenv = *
deps =
pytest
pytest-cov
commands =
{envpython} --version
py.test -v --basetemp="{envtmpdir}" tests
@ -65,5 +64,8 @@ commands =
[testenv:coverage]
passenv = *
basepython = python2.7
deps =
pytest
pytest-cov
commands =
py.test --cov=platformio -v tests --ignore=tests/test_examples.py --ignore=tests/test_pkgmanifest.py
py.test --cov=platformio --cov-report xml --ignore=tests/test_examples.py --ignore=tests/test_pkgmanifest.py -v tests