Skip to content
This repository has been archived by the owner on Jun 12, 2018. It is now read-only.

Commit

Permalink
Add coveralls support and remove old junitxml coverage flags.
Browse files Browse the repository at this point in the history
  • Loading branch information
hodgestar committed Oct 7, 2013
1 parent 1a34a9f commit f7591de
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
6 changes: 5 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,8 @@ install:
- "pip install https://github.com/praekelt/vumi-wikipedia/tarball/develop#egg=vumi-wikipedia-dev --use-mirrors"
- "pip install -r requirements.pip --use-mirrors"
- "pip install -r requirements-pytest.pip --use-mirrors"
script: VUMITEST_REDIS_DB=1 ./run-tests.sh
- "pip install coveralls --use-mirrors"
script:
- VUMITEST_REDIS_DB=1 ./run-tests.sh
after_success:
- coveralls
1 change: 1 addition & 0 deletions requirements-pytest.pip
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
pytest
pytest-django
pytest-xdist
pytest-cov
4 changes: 1 addition & 3 deletions run-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ echo "=== Running tests..."
# This is necessary so that we import test modules from the working dir instead
# of the installed package.
export PYTHONPATH=.
./run-tests-pytest.sh --junitxml=test_results.xml --tb=native
# echo "=== Processing coverage data..."
# coverage xml
./run-tests-pytest.sh --cov=go
echo "=== Checking for PEP-8 violations..."
pep8 --repeat go | grep -v '^go/base/migrations/' | tee pep8.txt
echo "=== Done."

0 comments on commit f7591de

Please sign in to comment.