Skip to content

Commit

Permalink
Add coveralls.io
Browse files Browse the repository at this point in the history
  • Loading branch information
az0 committed Sep 11, 2015
1 parent 31b8435 commit 33faab0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,7 @@ install:
- make > /dev/null
- sudo make install
- cd ..
script: make tests
# coveralls.io
- pip install python-coveralls
script: make tests COVERALLS='coveralls run'
after_success: coveralls
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ datadir ?= $(prefix)/share
INSTALL = install
INSTALL_DATA = $(INSTALL) -m 644

# if not specified, do not check coverage
COVERAGE ?= python

build:
echo Nothing to build
Expand Down Expand Up @@ -65,7 +67,7 @@ lint:

tests:
make -C cleaners tests; cleaners_status=$$?; \
python tests/TestAll.py -v; py_status=$$?; \
$(COVERAGE) tests/TestAll.py -v; py_status=$$?; \
exit $$(($$cleaners_status + $$py_status))

pretty:
Expand Down

0 comments on commit 33faab0

Please sign in to comment.