run nose with --with-coverage flag
This commit is contained in:
parent
096ef6076a
commit
25f951f397
1 changed files with 6 additions and 5 deletions
11
.travis.yml
11
.travis.yml
|
@ -6,12 +6,13 @@ python:
|
||||||
- "3.4"
|
- "3.4"
|
||||||
# command to install dependencies
|
# command to install dependencies
|
||||||
install:
|
install:
|
||||||
- if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then travis_retry pip install --use-mirrors unittest2; fi
|
- if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then travis_retry pip install unittest2; fi
|
||||||
- travis_retry pip install --use-mirrors -r dev-requirements.txt
|
- travis_retry pip install -r dev-requirements.txt
|
||||||
- travis_retry pip install --use-mirrors coveralls
|
- travis_retry pip install coveralls
|
||||||
# command to run tests
|
|
||||||
script: nosetests
|
|
||||||
# use new travis-ci container-based infrastructure
|
# use new travis-ci container-based infrastructure
|
||||||
sudo: false
|
sudo: false
|
||||||
|
# command to run tests
|
||||||
|
script: nosetests --with-coverage --cover-package=wakatime
|
||||||
|
# command to run after tests
|
||||||
after_success:
|
after_success:
|
||||||
- coveralls
|
- coveralls
|
||||||
|
|
Loading…
Reference in a new issue