From 48bb8a241329ad498b9ee7f00b5bb8eab26419e0 Mon Sep 17 00:00:00 2001 From: leandrotoledo Date: Mon, 7 Sep 2015 16:28:00 -0300 Subject: [PATCH] Fix travis --- .travis.yml | 2 +- Makefile | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 066b7d757..a06109263 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,6 +9,6 @@ python: install: - pip install coveralls script: - coverage run tests/test_*.py + make tests after_success: coveralls diff --git a/Makefile b/Makefile index dd1c70a1c..d5b9dcafe 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -.PHONY: clean pep8 lint test +.PHONY: clean pep8 lint test coverage clean: rm -fr build @@ -16,6 +16,9 @@ lint: test: @- $(foreach TEST, $(wildcard tests/test_*.py), python $(TEST);) +coverage: + @- $(foreach TEST, $(wildcard tests/test_*.py), coverage run $(TEST);) + help: @echo "Available targets:" @echo "- clean Clean up the source directory"