travis.yml: use tox, with 'coverage' environment

This commit is contained in:
Brian Warner 2016-05-09 14:34:45 -07:00
parent 608719df91
commit e3aef2b966

View File

@ -13,11 +13,9 @@ before_install:
- git fetch --depth=1000
- python misc/build_helpers/show-tool-versions.py
install:
- pip install coveralls
before_script:
- pip install -e .[test]
- pip install coveralls tox
script:
- coverage run --branch --source=src/allmydata `which tahoe` --version-and-path debug trial --rterrors --reporter=timing
- tox -e coverage
after_success:
coveralls
notifications: