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 - git fetch --depth=1000
- python misc/build_helpers/show-tool-versions.py - python misc/build_helpers/show-tool-versions.py
install: install:
- pip install coveralls - pip install coveralls tox
before_script:
- pip install -e .[test]
script: script:
- coverage run --branch --source=src/allmydata `which tahoe` --version-and-path debug trial --rterrors --reporter=timing - tox -e coverage
after_success: after_success:
coveralls coveralls
notifications: notifications: