mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2024-12-22 14:35:00 +01:00
Fix travis
This commit is contained in:
parent
36dc1633f5
commit
48bb8a2413
2 changed files with 5 additions and 2 deletions
|
@ -9,6 +9,6 @@ python:
|
|||
install:
|
||||
- pip install coveralls
|
||||
script:
|
||||
coverage run tests/test_*.py
|
||||
make tests
|
||||
after_success:
|
||||
coveralls
|
||||
|
|
5
Makefile
5
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"
|
||||
|
|
Loading…
Reference in a new issue