mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-30 10:07:14 +02:00
Use codecov after success script
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@ -8,3 +8,4 @@ build
|
|||||||
.cache
|
.cache
|
||||||
coverage.xml
|
coverage.xml
|
||||||
.coverage
|
.coverage
|
||||||
|
htmlcov
|
||||||
|
@ -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:
|
||||||
|
2
tox.ini
2
tox.ini
@ -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
|
|
||||||
|
Reference in New Issue
Block a user