Skip to content
This repository was archived by the owner on May 23, 2023. It is now read-only.

Commit 04c0d0b

Browse files
committed
Merge pull request #246 from ethereum/coveralls
Coveralls
2 parents 29c77b6 + ae5bfb7 commit 04c0d0b

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

.travis.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,12 @@ env:
44
- TOX_ENV=py27
55

66
install:
7-
- pip install tox
7+
- pip install tox coveralls
8+
- pip install -r requirements.txt
89

910
script:
10-
- tox -e $TOX_ENV
11+
- coverage run --source ethereum setup.py test
12+
#- tox -e $TOX_ENV
13+
14+
after_success:
15+
- coveralls

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def run_tests(self):
3434
install_requires_replacements = {
3535
'https://github.com/ethereum/pyrlp/tarball/develop': 'rlp>=0.3.7',
3636
'https://github.com/ethereum/serpent/tarball/develop': 'ethereum-serpent>=1.8.1',
37-
'https://github.com/ethereum/ethash/tarball/master': 'pyethash>=23'}
37+
'https://github.com/ethereum/ethash/tarball/master': 'pyethash'}
3838

3939
install_requires = [install_requires_replacements.get(r, r) for r in install_requires]
4040

tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ envlist = py27
55
[testenv]
66
setenv =
77
PYTHONPATH = {toxinidir}:{toxinidir}/ethereum
8-
commands = python setup.py test
9-
8+
#commands = python setup.py test
9+
commands = coverage run --source=pyethereum setup.py test
1010
deps =
1111
-r{toxinidir}/requirements.txt

0 commit comments

Comments
 (0)