Skip to content

Commit

Permalink
Trying coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
Erik Bernhardsson committed Jan 23, 2015
1 parent 987c8ae commit b260daa
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
8 changes: 6 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ env:
global:
- PIP_DOWNLOAD_CACHE=$HOME/.pip-cache
matrix:
- TOX_ENV=coverage
- TOX_ENV=cdh
- TOX_ENV=hdp

Expand All @@ -20,7 +21,10 @@ cache:

install:
- pip install tox
- pip install coveralls

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
7 changes: 6 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = {cdh,hdp}
envlist = {cdh,hdp,coverage}
skipsdist = True

[testenv]
Expand All @@ -16,3 +16,8 @@ setenv =
commands =
{toxinidir}/scripts/ci/setup_env.sh
{toxinidir}/scripts/ci/run_tests.sh {posargs:}

[testenv:coverage]
commands =
coverage run test/runtests.py -a '!minicluster'
coveralls

0 comments on commit b260daa

Please sign in to comment.