forked from andres-torres-marroquin/django-dropbox
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add testing for travis, remove empty files and django_dropbox_project
- Loading branch information
Showing
20 changed files
with
104 additions
and
234 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
language: python | ||
python: 2.7 | ||
env: | ||
- TOX_ENV=py26-django14 | ||
- TOX_ENV=py26-django15 | ||
- TOX_ENV=py26-django16 | ||
- TOX_ENV=py27-django14 | ||
- TOX_ENV=py27-django15 | ||
- TOX_ENV=py27-django16 | ||
- TOX_ENV=py27-django17 | ||
- TOX_ENV=py34-django15 | ||
- TOX_ENV=py34-django16 | ||
- TOX_ENV=py34-django17 | ||
- TOX_ENV=coverage | ||
global: | ||
- secure: J/5lMe5kssOijDOrxivPocuPcwaiOr0VxGxmMgKkLYHOVCUujVCNO32Ze/70KXmvyzRZx7K9yeER0qP1AcY/Zg8wTJi58nefbK9lnbu6/K6OQovj4fxUAZtZkB7X4CBvrUYKCeeVd+zJw31WC2v6Vtp3mh4irIm/TPIpeyoegmQ= | ||
- secure: ilN2b4RV4+//9N2DnFGh/hfDQS9ahBX6mY+OwWX72eqRlUyvt+eYGgljscWKEtDdVoA0SOSbZ7ghS2F9R+JsglYuyE//cb6DMsFa3+CW3I/Jl59nqKIgJkrmC1CrVSWmG/uISE0prITpIBH/3P5rT4EvqFQIfQ1WItAwtAmZKak= | ||
- secure: j9R74s5cwHWoGgQlIVqRj56gD+16wzGI7XIPFJ11yWDlgrftR0vkgiPlfgK5KKga4LOJBI2m92zgzr2OC9pgkvYjFR+i206F2cN2KbH2P8rFZtECp+o2uHBIhuZ8xOvw4TbxUNRd/ej6E4eKNcRvavwzfEwWO4C4v6FhC2rr5xk= | ||
- secure: NHsCChxiQJw07EUsqs2mtmmppApN8DLAB79JVeKoptQaxqxtzinL7QXxugAc0BNxvC3iCtTY5/232RyRn9dNNzY5Jq/b5YIsJJTMtAMTtY5xuJn8TTYV+TB5G31k9fnAAiqhdmdo7m7E6OSDxIYv44k147W43T0+nLlxCLlADew= | ||
install: | ||
- pip install tox | ||
script: | ||
- tox -e $TOX_ENV |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
from django.utils.six.moves.urllib import parse as urlparse | ||
from django.utils.six import BytesIO | ||
try: | ||
from django.utils.deconstruct import deconstructible | ||
except ImportError: # Django 1.7+ migrations | ||
deconstructible = lambda klass, *args, **kwargs: klass |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#!/usr/bin/env python | ||
import os | ||
import sys | ||
|
||
import django | ||
from django.conf import settings | ||
from django.test.utils import get_runner | ||
|
||
if __name__ == "__main__": | ||
os.environ['DJANGO_SETTINGS_MODULE'] = 'tests.test_settings' | ||
if django.VERSION >= (1, 7, 0): | ||
# starting from 1.7.0 we need to run setup() in order to populate | ||
# app config | ||
django.setup() | ||
TestRunner = get_runner(settings) | ||
test_runner = TestRunner() | ||
failures = test_runner.run_tests(["django_dropbox"]) | ||
sys.exit(failures) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import os | ||
|
||
INSTALLED_APPS = [ | ||
"django_dropbox", | ||
] | ||
|
||
DROPBOX_CONSUMER_KEY = os.environ['DROPBOX_CONSUMER_KEY'] | ||
DROPBOX_CONSUMER_SECRET = os.environ['DROPBOX_CONSUMER_SECRET'] | ||
DROPBOX_ACCESS_TOKEN = os.environ['DROPBOX_ACCESS_TOKEN'] | ||
DROPBOX_ACCESS_TOKEN_SECRET = os.environ['DROPBOX_ACCESS_TOKEN_SECRET'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file was deleted.
Oops, something went wrong.
Empty file.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.