language: python
python:
  - "2.7"
  - "3.4"
  - "3.5"
  - "3.6"
cache: pip
services:
  - postgresql
env:
  - DB_USER=postgres DEBUG=True
install:
  - pip install -U pip wheel
  - pip install -r requirements.txt -r requirements-test.txt
before_script:
  - psql -U postgres -c 'create extension postgis'
  - psql -U postgres -c 'create database bustimes'
  - ./manage.py migrate
  - gem install sass
  - nvm install node
  - npm install
script:
  - ./manage.py collectstatic --noinput
  - PYTHONWARNINGS=all coverage run manage.py test
  - flake8
  - sass-lint 'busstops/static/css/*' -v
  - eslint 'busstops/static/js/*.js'
after_success:
  coveralls

language: python
python:
  - "2.7"
  - "3.4"
  - "3.5"
  - "3.6"
cache: pip
services:
  - postgresql
addons:
  postgresql: "9.4"
env:
  - DB_USER=postgres DEBUG=True
install:
  - pip install -U pip wheel
  - pip install -r requirements.txt -r requirements-test.txt
before_script:
  - psql -U postgres -c 'create extension postgis'
  - psql -U postgres -c 'create database bustimes'
  - ./manage.py migrate
  - gem install sass
  - nvm install node
  - npm install
script:
  - ./manage.py collectstatic --noinput
  - PYTHONWARNINGS=all coverage run manage.py test
  - flake8
  - sass-lint 'busstops/static/css/*' -v
  - eslint 'busstops/static/js/*.js'
after_success:
  coveralls

Fix Travis, specify PostgreSQL version
Fix Travis, specify PostgreSQL version
