Skip to content

Commit af52f73

Browse files
author
pgaref
committed
More verbose travis - Tox-Codecov fix
1 parent 0a858db commit af52f73

2 files changed

Lines changed: 11 additions & 3 deletions

File tree

.travis.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,16 @@ language: python
22
python:
33
- 2.7
44
sudo: false
5+
before_install:
6+
- python --version
7+
- uname -a
8+
- lsb_release -a
59
# command to install dependencies
610
install:
711
- "pip install -r requirements.txt"
812
- "pip install coverage"
913
- "pip install coveralls"
1014
script:
11-
- "coverage run --source=http setup.py test"
15+
- "coverage run --source=http_request_randomizer setup.py test"
1216
after_success:
1317
coveralls

tox.ini

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# and then run "tox" from this directory.
55

66
[tox]
7-
envlist = py27, py3
7+
envlist = py27, py3, ,cov
88

99
[testenv]
1010
;commands = {envpython} setup.py test
@@ -40,4 +40,8 @@ commands=
4040
[testenv:py3verbose]
4141
basepython=python3
4242
commands=
43-
py.test tests --doctest-module --cov=. --cov-report term
43+
py.test tests --doctest-module --cov=. --cov-report term
44+
45+
[testenv:cov]
46+
usedevelop = true
47+
commands = py.test tests --cov=http_request_randomizer

0 commit comments

Comments
 (0)