Use codecov after success script

This commit is contained in:
Ivan Kravets
2016-08-02 15:50:04 +03:00
parent 26dae8ee94
commit 5b5a63cb5f
3 changed files with 3 additions and 3 deletions

1
.gitignore vendored
View File

@ -8,3 +8,4 @@ build
.cache .cache
coverage.xml coverage.xml
.coverage .coverage
htmlcov

View File

@ -10,7 +10,7 @@ env:
install: install:
- git submodule update --init --recursive - git submodule update --init --recursive
- pip install -U pip setuptools tox - pip install -U pip setuptools tox codecov
- sudo apt-get install -qq lib32z1 lib32ncurses5 lib32bz2-1.0 # temporarily - sudo apt-get install -qq lib32z1 lib32ncurses5 lib32bz2-1.0 # temporarily
script: script:
@ -18,6 +18,7 @@ script:
after_success: after_success:
- tox -e coverage - tox -e coverage
- bash <(curl -s https://codecov.io/bash)
notifications: notifications:
slack: slack:

View File

@ -65,7 +65,5 @@ commands =
[testenv:coverage] [testenv:coverage]
passenv = * passenv = *
basepython = python2.7 basepython = python2.7
deps = codecov
commands = commands =
py.test --cov=platformio -v tests --ignore=tests/test_examples.py --ignore=tests/test_pkgmanifest.py py.test --cov=platformio -v tests --ignore=tests/test_examples.py --ignore=tests/test_pkgmanifest.py
codecov