mirror of
https://github.com/beetbox/beets.git
synced 2026-01-30 12:02:41 +01:00
Travis: use explicit $COVERAGE variable
This makes the conditionals a little easier to read.
This commit is contained in:
parent
534c57a78c
commit
de2b2ad407
1 changed files with 3 additions and 3 deletions
|
|
@ -9,7 +9,7 @@ matrix:
|
|||
- python: 2.6
|
||||
env: {TOX_ENV: py26}
|
||||
- python: 2.7
|
||||
env: {TOX_ENV: py27}
|
||||
env: {TOX_ENV: py27, COVERAGE=1}
|
||||
- python: pypy
|
||||
env: {TOX_ENV: pypy}
|
||||
- python: 2.7
|
||||
|
|
@ -21,14 +21,14 @@ install:
|
|||
- travis_retry sudo apt-get update
|
||||
- travis_retry sudo apt-get install -qq bash-completion mp3gain
|
||||
- travis_retry pip install tox sphinx
|
||||
- "[[ $TOX_ENV == 'py27' ]] && pip install coveralls || true"
|
||||
- "[ ! -z $COVERAGE ] && pip install coveralls || true"
|
||||
|
||||
script: tox -e $TOX_ENV
|
||||
|
||||
# coveralls.io reporting, using https://github.com/coagulant/coveralls-python
|
||||
# Only report coverage for one version.
|
||||
after_success:
|
||||
- "[[ $TOX_ENV == 'py27' ]] && coveralls || true"
|
||||
- "[ ! -z $COVERAGE ] && coveralls || true"
|
||||
|
||||
notifications:
|
||||
irc:
|
||||
|
|
|
|||
Loading…
Reference in a new issue