File tree Expand file tree Collapse file tree 3 files changed +10
-11
lines changed Expand file tree Collapse file tree 3 files changed +10
-11
lines changed Original file line number Diff line number Diff line change 1+ [run]
2+ omit = tests/*
Original file line number Diff line number Diff line change 11language : python
22python :
33 - " 2.7"
4- # command to install dependencies
5- install :
6- - pip install .
7- - pip install coveralls
8- # command to run tests
9- script :
10- coverage run --omit=*/tests/* --source=simplepeg setup.py test
11- after_success :
12- coveralls
4+ install : pip install tox-travis
5+ script : tox
Original file line number Diff line number Diff line change 11[tox]
22envlist =py27
3+
34[testenv]
45changedir =tests
5- deps =pytest
6- commands =py.test --basetemp ={envtmpdir}
6+ deps =
7+ pytest
8+ pytest-cov
9+ coveralls
10+ commands =py.test --basetemp ={envtmpdir} --cov-config .coveragerc --cov =simplepeg
711setenv = PYTHONPATH = {toxinidir}
You can’t perform that action at this time.
0 commit comments