From 5b5a63cb5f4d58b7314ffe75a2bc91486775d962 Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Tue, 2 Aug 2016 15:50:04 +0300 Subject: [PATCH] Use codecov after success script --- .gitignore | 1 + .travis.yml | 3 ++- tox.ini | 2 -- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 549cf8bb..0a54e681 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ build .cache coverage.xml .coverage +htmlcov diff --git a/.travis.yml b/.travis.yml index 8c34f8da..5b210f4d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,7 +10,7 @@ env: install: - 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 script: @@ -18,6 +18,7 @@ script: after_success: - tox -e coverage + - bash <(curl -s https://codecov.io/bash) notifications: slack: diff --git a/tox.ini b/tox.ini index efc4138c..71717e00 100644 --- a/tox.ini +++ b/tox.ini @@ -65,7 +65,5 @@ commands = [testenv:coverage] passenv = * basepython = python2.7 -deps = codecov commands = py.test --cov=platformio -v tests --ignore=tests/test_examples.py --ignore=tests/test_pkgmanifest.py - codecov