sudo: false
language: python
services:
  - postgresql
cache:
  directories:
    - "$HOME/.cache/pip"
python:
  - 3.4
  - 3.5
install:
  - pip install -U pip
  - pip install -r requirements.txt -r requirements-dev.txt
before_script:
  - psql -c 'create database parkkihubi;' -U postgres
  - psql -U postgres -c "create extension postgis"
script:
  - flake8
  - py.test -ra -vvv --cov
env:
  - SECRET_KEY=topsecret123
sudo: false
dist: trusty
language: python
services:
  - postgresql
cache:
  directories:
    - "$HOME/.cache/pip"
python:
  - 3.4
  - 3.5
install:
  - pip install -U pip
  - pip install -r requirements.txt -r requirements-dev.txt
before_script:
  - psql -c 'create database parkkihubi;' -U postgres
  - psql -U postgres -c "create extension postgis"
script:
  - flake8
  - py.test -ra -vvv --cov
env:
  - SECRET_KEY=topsecret123

Change Travis to use Ubuntu 14.04
Change Travis to use Ubuntu 14.04

Change from precise to trusty to get postgis 2.2 instead of 2.1, which
is the cause of some failing tests.
