diff --git a/.travis.yml b/.travis.yml index b73e5dd6..658547ab 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/tox.ini b/tox.ini index da496e8f..a3866532 100644 --- a/tox.ini +++ b/tox.ini @@ -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