language: python
python:
  - "2.7"

sudo: False

addons:
    postgresql: "9.3"

# command to install dependencies
install:
    - pip install -r requirements.txt
    - pip install -r test-requirements.txt
    - pip install coveralls

env: 
    - TEST=True DATABASE_URL=postgres://postgres@localhost/cellcountr_test

before_script:
    - psql -c 'create database cellcountr_test;' -U postgres

# command to run tests
script: coverage run --source=cellcounter --omit='*migrations*' manage.py test

after_success:
    coveralls

language: python
python:
  - "2.7"

sudo: False

addons:
    postgresql: "9.1"

# command to install dependencies
install:
    - pip install -r requirements.txt
    - pip install -r test-requirements.txt
    - pip install coveralls

env: 
    - TEST=True DATABASE_URL=postgres://postgres@localhost/cellcountr_test

before_script:
    - psql -c 'create database cellcountr_test;' -U postgres

# command to run tests
script: coverage run --source=cellcounter --omit='*migrations*' manage.py test

after_success:
    coveralls

Use deployment version of postgresql
Use deployment version of postgresql
