old_contents: import os
  
  from keybar.conf.test import *
  
  
  DATABASES = {
      'default': {
          'ENGINE': 'django.db.backends.postgresql_psycopg2',
          'NAME': os.environ['KEYBAR_TEST_DB_NAME'],
          'USER': os.environ['KEYBAR_TEST_DB_USER']
      }
  }
  
  os.environ['ON_TRAVIS'] = True
  
new_contents: import os
  
  from keybar.conf.test import *
  
  
  DATABASES = {
      'default': {
          'ENGINE': 'django.db.backends.postgresql_psycopg2',
          'NAME': os.environ['KEYBAR_TEST_DB_NAME'],
          'USER': os.environ['KEYBAR_TEST_DB_USER']
      }
  }
  
  os.environ['ON_TRAVIS'] = 'true'
  
subject: fix environ variable