1
0
forked from VimPlug/jedi

Merge pull request #198 from tkf/coveralls

Run coveralls task separately on travis-ci (fixes #196, refs #197)
This commit is contained in:
Danilo Bargen
2013-04-10 13:12:36 -07:00
3 changed files with 18 additions and 1 deletions

4
.gitignore vendored
View File

@@ -1,9 +1,11 @@
*~
*.swp
*.swo
*.pyc
.ropeproject
.tox
*.pyc
.coveralls.yml
.coverage
/build/
/docs/_build/
/dist/

View File

@@ -5,7 +5,16 @@ env:
- TOXENV=py27
- TOXENV=py32
- TOXENV=py33
- TOXENV=cov
matrix:
allow_failures:
- env: TOXENV=cov
install:
- pip install --quiet --use-mirrors tox
script:
- tox
after_script:
- if [ $TOXENV == "cov" ]; then
pip install --quiet --use-mirrors coveralls
coveralls;
fi

View File

@@ -14,3 +14,9 @@ deps =
deps =
unittest2
{[testenv]deps}
[testenv:cov]
deps =
pytest-cov
{[testenv]deps}
commands =
py.test --cov jedi []