Skip to content

Commit

Permalink
.travis.yml adjusted
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonas Depoix committed May 18, 2017
1 parent 2fdd149 commit b364984
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 13 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ python:
- "3.6"
install:
- pip install -r requirements/testing.txt
- mv secrets.template.json secrets.json
script:
- coverage run manage.py test
#after_success: coveralls
11 changes: 0 additions & 11 deletions goto_cloud/settings/testing.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,3 @@
from .base import *

ENVIRONMENT = 'testing'

DATABASES = {
'default': {
"USER": "postgres",
"HOST": "localhost",
"PASSWORD": "",
"PORT": 5432,
"NAME": "goto_cloud",
'ENGINE': 'django.db.backends.postgresql_psycopg2',
}
}
4 changes: 2 additions & 2 deletions secrets.template.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"django_secret": "",
"database": {
"USER": "",
"HOST": "",
"USER": "postgres",
"HOST": "localhost",
"PASSWORD": "",
"PORT": 5432,
"NAME": "goto_cloud"
Expand Down

0 comments on commit b364984

Please sign in to comment.