Fix travis

This commit is contained in:
leandrotoledo 2015-09-07 16:28:00 -03:00
parent 36dc1633f5
commit 48bb8a2413
2 changed files with 5 additions and 2 deletions

View file

@ -9,6 +9,6 @@ python:
install: install:
- pip install coveralls - pip install coveralls
script: script:
coverage run tests/test_*.py make tests
after_success: after_success:
coveralls coveralls

View file

@ -1,4 +1,4 @@
.PHONY: clean pep8 lint test .PHONY: clean pep8 lint test coverage
clean: clean:
rm -fr build rm -fr build
@ -16,6 +16,9 @@ lint:
test: test:
@- $(foreach TEST, $(wildcard tests/test_*.py), python $(TEST);) @- $(foreach TEST, $(wildcard tests/test_*.py), python $(TEST);)
coverage:
@- $(foreach TEST, $(wildcard tests/test_*.py), coverage run $(TEST);)
help: help:
@echo "Available targets:" @echo "Available targets:"
@echo "- clean Clean up the source directory" @echo "- clean Clean up the source directory"