forked from AFPy/afpy.org
Nouvel essai pour les tests sur Travis-CI
This commit is contained in:
parent
a9cde70dda
commit
898a694468
4
Makefile
4
Makefile
|
@ -6,7 +6,7 @@ FLASK = $(VENV)/bin/flask
|
|||
all: install serve
|
||||
|
||||
install:
|
||||
test -d $(VENV) || python -m virtualenv $(VENV)
|
||||
test -d $(VENV) || virtualenv -p python $(VENV)
|
||||
$(PIP) install --upgrade --no-cache pip setuptools -e .[test]
|
||||
|
||||
clean:
|
||||
|
@ -21,4 +21,4 @@ test:
|
|||
$(PYTHON) -m pytest tests.py --flake8 --isort --cov=afpy --cov=tests --cov-report=term-missing
|
||||
|
||||
serve:
|
||||
env FLASK_APP=afpy.py FLASK_ENV=development $(VENV)/bin/flask run
|
||||
env FLASK_APP=afpy.py FLASK_ENV=development $(FLASK) run
|
||||
|
|
Loading…
Reference in New Issue
Block a user