language: python
python:
- "3.5"
cache: pip
install: "pip install -r requirements/local.txt -r requirements.txt"
script: py.test

language: python
python:
- "3.5"
cache: pip
install: "pip install -r requirements/local.txt -r requirements.txt"
script: py.test

dist: trusty
sudo: required
addons:
  postgresql: "9.5"

Use postgresql 9.5 in Travis
Use postgresql 9.5 in Travis
