2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-04-30 04:26:44 +00:00

Merge pull request #6 from SchrodingersGat/master

travis update
This commit is contained in:
Oliver 2017-03-29 00:17:07 +11:00 committed by GitHub
commit e28461dee8
2 changed files with 7 additions and 4 deletions

View File

@ -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

View File

@ -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'),
} }
} }