sudo: false
language: python
python:
  - '2.7'
  - '3.3'
  - '3.4'
env:
  global:
    - DB=postgres
  matrix:
    - DJANGO=1.6.5
    - DJANGO=1.7.4
install:
  - pip install flake8 nose>=1.3.0 coverage coveralls Django==$DJANGO
  - pip install -r requirements/docs.txt
before_script:
  - psql -c 'CREATE DATABASE dynamic_db_router_one;' -U postgres
  - psql -c 'CREATE DATABASE dynamic_db_router_two;' -U postgres
script:
  - flake8 .
  - python setup.py test
  - python setup.py install
  - cd docs && make html
after_success:
  coveralls

sudo: false
language: python
python:
  - '2.7'
  - '3.3'
  - '3.4'
env:
  global:
    - DB=postgres
  matrix:
    - DJANGO=1.6.5
    - DJANGO=1.7.4
install:
  - pip install psycopg2 flake8 nose>=1.3.0 coverage coveralls Django==$DJANGO
  - pip install -r requirements/docs.txt
before_script:
  - psql -c 'CREATE DATABASE dynamic_db_router_one;' -U postgres
  - psql -c 'CREATE DATABASE dynamic_db_router_two;' -U postgres
script:
  - flake8 .
  - python setup.py test
  - python setup.py install
  - cd docs && make html
after_success:
  coveralls

Install psycopg2 in Travis setup
Install psycopg2 in Travis setup
