Only run codecov once.

Otherwise coverage diffs make no sense...

This reverts commit daaa15396c.
This commit is contained in:
Florian Bruhin 2015-11-18 17:47:26 +01:00
parent a845bf22ff
commit 202fc8a5bd
3 changed files with 3 additions and 2 deletions

View File

@ -1,3 +1,4 @@
shallow_clone: true
version: '{branch}-{build}' version: '{branch}-{build}'
cache: cache:
- C:\projects\qutebrowser\.cache - C:\projects\qutebrowser\.cache

View File

@ -40,7 +40,7 @@ script:
- tox -e $TESTENV -- -p no:sugar -v --cov-report term tests - tox -e $TESTENV -- -p no:sugar -v --cov-report term tests
after_success: after_success:
- '[[ $TESTENV == py34 || $TESTENV == py35 ]] && codecov -e TESTENV -X gcov' - '[[ ($TESTENV == py34 || $TESTENV == py35) && $TRAVIS_OX == linux ]] && codecov -e TESTENV -X gcov'
matrix: matrix:
exclude: exclude:

View File

@ -44,7 +44,7 @@ INSTALL_PYQT = TESTENV in ('py34', 'py35', 'unittests-nodisp', 'vulture',
'pylint') 'pylint')
XVFB = TRAVIS_OS == 'linux' and TESTENV == 'py34' XVFB = TRAVIS_OS == 'linux' and TESTENV == 'py34'
pip_packages = ['tox'] pip_packages = ['tox']
if TESTENV in ['py34', 'py35']: if TESTENV in ['py34', 'py35'] and TRAVIS_OS == 'linux':
pip_packages.append('codecov') pip_packages.append('codecov')