X Tutup
Skip to content

Commit 48bb8a2

Browse files
committed
Fix travis
1 parent 36dc163 commit 48bb8a2

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ python:
99
install:
1010
- pip install coveralls
1111
script:
12-
coverage run tests/test_*.py
12+
make tests
1313
after_success:
1414
coveralls

Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.PHONY: clean pep8 lint test
1+
.PHONY: clean pep8 lint test coverage
22

33
clean:
44
rm -fr build
@@ -16,6 +16,9 @@ lint:
1616
test:
1717
@- $(foreach TEST, $(wildcard tests/test_*.py), python $(TEST);)
1818

19+
coverage:
20+
@- $(foreach TEST, $(wildcard tests/test_*.py), coverage run $(TEST);)
21+
1922
help:
2023
@echo "Available targets:"
2124
@echo "- clean Clean up the source directory"

0 commit comments

Comments
 (0)
X Tutup