language: python
python:
  - "2.7"
  - "3.5"
install: pip install -r requirements.txt
services: postgresql
before_script:
  - psql -c 'create database flask_example_test;' -U postgres
script: ./manage.py test

language: python
python:
  - "2.7"
  - "3.5"
install: pip install -r requirements.txt
services: postgresql
before_script:
  - psql -c 'create database flask_example_test;' -U postgres
  - ./manage.py db upgrade
script: ./manage.py test

Create tables using Alembic for tests.
Create tables using Alembic for tests.
