Skip to content

Commit

Permalink
Trying coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
Erik Bernhardsson authored and Erik Bernhardsson committed Jan 23, 2015
1 parent 987c8ae commit 7476f85
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 3 deletions.
Binary file added .coverage
Binary file not shown.
6 changes: 6 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[report]
omit =
*/python?.?/*
*/site-packages/nose/*
*__init__*
*test/*
6 changes: 4 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ cache:
install:
- pip install tox

script: tox -e $TOX_ENV
script:
- tox -e $TOX_ENV

after_failure: cat /home/travis/build/spotify/luigi/.tox/cdh/log/cdh-1.log
after_failure:
- cat /home/travis/build/spotify/luigi/.tox/cdh/log/cdh-1.log
File renamed without changes.
6 changes: 5 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ usedevelop = True
deps=
-r{toxinidir}/test/requirements.txt
py26: unittest2
coverage>=3.6,<3.999
coveralls
setenv =
cdh: HADOOP_DISTRO=cdh
cdh: HADOOP_HOME=/tmp/hadoop-cdh
Expand All @@ -15,4 +17,6 @@ setenv =
LUIGI_CONFIG_PATH={toxinidir}/test/testconfig/client.cfg
commands =
{toxinidir}/scripts/ci/setup_env.sh
{toxinidir}/scripts/ci/run_tests.sh {posargs:}
{toxinidir}/scripts/ci/verify.sh {posargs:}
coverage run test/runtests.py -v
coveralls

0 comments on commit 7476f85

Please sign in to comment.