language: python
python:
- 2.7.14
install:
- pip install tox
- pip install coveralls
script:
- export DJANGO_SETTINGS_MODULE=settings_for_testing
- tox
- python2.7 setup.py bdist_wheel
after_success:
- coveralls
deploy:
  provider: releases
  skip_cleanup: true
  api_key:
    secure: JSajnwpeUixOaWnQzaQCmeg9/74h/QKFtz7difgKuUg7SmuY462Jyr2mkTQkYQWPR28lqB/pIp7DlTjrN9inxpdtVpsm0RSgvuzvW7ZmlWr2xLb6wjHMArtRVJsdqODauQa9EH2ArqeKvXrCqWP2LQI6RFgoElOH3ilcemElj+w=
  file_glob: true
  file: dist/*.whl
  on:
    tags: true

language: python
python:
- 2.7.14
install:
- pip install tox
- pip install coveralls
script:
- tox
- python2.7 setup.py bdist_wheel
after_success:
- coveralls
deploy:
  provider: releases
  skip_cleanup: true
  api_key:
    secure: JSajnwpeUixOaWnQzaQCmeg9/74h/QKFtz7difgKuUg7SmuY462Jyr2mkTQkYQWPR28lqB/pIp7DlTjrN9inxpdtVpsm0RSgvuzvW7ZmlWr2xLb6wjHMArtRVJsdqODauQa9EH2ArqeKvXrCqWP2LQI6RFgoElOH3ilcemElj+w=
  file_glob: true
  file: dist/*.whl
  on:
    tags: true

Test settings are exported by default in manage.py
Test settings are exported by default in manage.py

So, this export line in travis.yml is redundant.
