machine:
  environment:
    DATABASE_URL: mysql://ubuntu:@localhost:3306/circle_test
    CUSTOM_DATABASE_URL: mysql://ubuntu:@localhost:3306/circle_test
    PWD_DATA: 

dependencies:
  override:
    - pip install -U -r requirements/test.txt codecov flake8

test:
  pre:
    - >
      echo '{"SCRATCH": {"DB_TYPE": "mysql", "DB": "scratch", "HOST": "localhost", "PWD": "django", "USER": "django", "PORT": 3306}, "SECRET_KEY": "j_-af1@u(h7j%nkkdweuq6n$i=dyi2b+o7n8$u4szdb9^-6-j2", "EMAIL": {"EMAIL_HOST_PASSWORD": "test", "EMAIL_PORT": 587, "EMAIL_USE_TLS": true, "EMAIL_HOST_USER": "example@gmail.com", "EMAIL_HOST": "smtp.gmail.com"}, "DJANGO": {"DB_TYPE": "mysql", "DB": "django", "HOST": "localhost", "PWD": "django", "USER": "django", "PORT": 3306},"SCRATCH": {"DB_TYPE": "mysql", "DB": "scratch", "HOST": "localhost", "PWD": "django", "USER": "django", "PORT": 3306}}' > chartly/passwords.json
  override:
    - flake8 tests/
    - coverage run manage.py test
  post:
    - codecov --token=e40d6920-9464-459f-9bdf-5ff4f57fe6c5

machine:
  environment:
    DATABASE_URL: mysql://ubuntu:@localhost:3306/circle_test
    CUSTOM_DATABASE_URL: mysql://ubuntu:@localhost:3306/circle_test
    PWD_DATA: 

dependencies:
  override:
    - pip install -U -r requirements/test.txt codecov flake8

test:
  override:
    - flake8 tests/
    - coverage run manage.py test
  post:
    - codecov --token=e40d6920-9464-459f-9bdf-5ff4f57fe6c5

Remove password file hack from Circle setup
Remove password file hack from Circle setup
