mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-30 04:26:44 +00:00
commit
e28461dee8
@ -1,10 +1,13 @@
|
|||||||
language: python
|
language: python
|
||||||
python:
|
python:
|
||||||
- 3.3
|
- 3.4
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- pip install pep8
|
- pip install pep8
|
||||||
|
- pip install django
|
||||||
|
- pip install djangorestframework
|
||||||
|
|
||||||
script:
|
script:
|
||||||
# TODO - Only perform PEP8 checks on files that have been changed in this push / PR
|
- "pep8 --exclude=migrations --ignore=E402,W293,E501 InvenTree"
|
||||||
- find . -name \*.py -exec pep8 --ignore=E402,W293,E501 {} +
|
- python InvenTree/manage.py check
|
||||||
|
- python InvenTree/manage.py test --noinput
|
@ -86,7 +86,7 @@ WSGI_APPLICATION = 'InvenTree.wsgi.application'
|
|||||||
DATABASES = {
|
DATABASES = {
|
||||||
'default': {
|
'default': {
|
||||||
'ENGINE': 'django.db.backends.sqlite3',
|
'ENGINE': 'django.db.backends.sqlite3',
|
||||||
'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
|
'NAME': os.path.join(BASE_DIR, 'inventree_db.sqlite3'),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user