Skip to content

Commit

Permalink
Make Travis pass
Browse files Browse the repository at this point in the history
  • Loading branch information
HenrikOssipoff committed Feb 18, 2015
1 parent 2fd8bf1 commit 720690d
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 9 deletions.
6 changes: 6 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,9 @@ python:
- "3.4"

install: "pip install -r requirements.txt"

before_script:
- "flake8 --exclude=migrations stregsystem"

script:
- "stregsystem/manage.py test"
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
stregsystem
Stregsystem
===========
[![Build Status](https://travis-ci.org/HenrikOssipoff/stregsystem.svg?branch=master)](https://travis-ci.org/HenrikOssipoff/stregsystem)

Stregsystrem v.4
10 changes: 3 additions & 7 deletions stregsystem/stregsystem/urls.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
from django.conf.urls import patterns, include, url
from django.conf.urls import include, url
from django.contrib import admin

urlpatterns = patterns('',
# Examples:
# url(r'^$', 'stregsystem.views.home', name='home'),
# url(r'^blog/', include('blog.urls')),

urlpatterns = [
url(r'^admin/', include(admin.site.urls)),
)
]
3 changes: 2 additions & 1 deletion stregsystem/stregsystem/wsgi.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import os
from django.core.wsgi import get_wsgi_application

os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'stregsystem.settings.local')

from django.core.wsgi import get_wsgi_application
application = get_wsgi_application()

0 comments on commit 720690d

Please sign in to comment.