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:
|
install:
|
||||||
- pip install coveralls
|
- pip install coveralls
|
||||||
script:
|
script:
|
||||||
coverage run tests/test_*.py
|
make tests
|
||||||
after_success:
|
after_success:
|
||||||
coveralls
|
coveralls
|
||||||
|
|
5
Makefile
5
Makefile
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue