зеркало из https://github.com/nextcloud/appstore.git
debug
This commit is contained in:
Родитель
e15de80b0e
Коммит
7fbcebdd0f
|
@ -31,16 +31,16 @@ before_install:
|
|||
|
||||
install:
|
||||
- npm -g install yarn
|
||||
- make dev-setup db="$DB"
|
||||
- make l10n
|
||||
- make dev-setup db="$DB" venv_bin=""
|
||||
- make l10n venv_bin=""
|
||||
- yarn add tslint
|
||||
|
||||
script:
|
||||
- ./node_modules/.bin/tslint "./nextcloudappstore/core/static/assets/**/*.ts"
|
||||
- make test
|
||||
- make test venv_bin=""
|
||||
|
||||
after_success:
|
||||
- venv/bin/coveralls
|
||||
- coveralls
|
||||
|
||||
services:
|
||||
- postgresql
|
||||
|
|
16
Makefile
16
Makefile
|
@ -1,10 +1,11 @@
|
|||
python=venv/bin/python
|
||||
pip=venv/bin/pip3
|
||||
pycodestyle=venv/bin/pycodestyle
|
||||
pyresttest=venv/bin/pyresttest
|
||||
coverage=venv/bin/coverage
|
||||
bandit=venv/bin/bandit
|
||||
mypy=venv/bin/mypy
|
||||
venv_bin=venv/bin/
|
||||
python=$(venv_bin)python
|
||||
pip=$(venv_bin)pip3
|
||||
pycodestyle=$(venv_bin)pycodestyle
|
||||
pyresttest=$(venv_bin)pyresttest
|
||||
coverage=$(venv_bin)coverage
|
||||
bandit=$(venv_bin)bandit
|
||||
mypy=$(venv_bin)mypy
|
||||
manage-script=$(CURDIR)/manage.py
|
||||
manage=$(python) $(manage-script)
|
||||
db=sqlite
|
||||
|
@ -41,7 +42,6 @@ dev-setup:
|
|||
$(yarn) install
|
||||
$(yarn) run build
|
||||
$(pyvenv) venv
|
||||
source venv/bin/activate && python3 -m ensurepip
|
||||
$(pip) install --upgrade pip
|
||||
$(pip) install -r $(CURDIR)/requirements/development.txt
|
||||
$(pip) install -r $(CURDIR)/requirements/base.txt
|
||||
|
|
Загрузка…
Ссылка в новой задаче