sudo: false
language: python
python:
  - '2.7'
  - '3.4'
env:
  global:
    - DB=postgres
    - NOSE_NOLOGCAPTURE=True
  matrix:
    - DJANGO=">=1.7,<1.8"
    - DJANGO=">=1.8,<1.9"
    - DJANGO=">=1.9,<1.10"
install:
  - pip install -q coveralls coverage flake8 Django$DJANGO django-nose>=1.4
  - pip install -r requirements/docs.txt
before_script:
  - psql -c 'CREATE DATABASE entity_history;' -U postgres
script:
  - flake8 .
  - coverage run setup.py test
  - coverage report --fail-under=100
  - python setup.py install
  - python setup.py build_sphinx
after_success:
  coveralls

sudo: false
language: python
python:
  - '2.7'
  - '3.4'
addons:
  postgresql: '9.5'
env:
  global:
    - DB=postgres
    - NOSE_NOLOGCAPTURE=True
  matrix:
    - DJANGO=">=1.7,<1.8"
    - DJANGO=">=1.8,<1.9"
    - DJANGO=">=1.9,<1.10"
install:
  - pip install -q coveralls coverage flake8 Django$DJANGO django-nose>=1.4
  - pip install -r requirements/docs.txt
before_script:
  - psql -c 'CREATE DATABASE entity_history;' -U postgres
script:
  - flake8 .
  - coverage run setup.py test
  - coverage report --fail-under=100
  - python setup.py install
  - python setup.py build_sphinx
after_success:
  coveralls

Use postgresql 9.5 for testing
Use postgresql 9.5 for testing
