Add db creation for travis

This commit is contained in:
Rebecca Law
2016-01-12 10:39:09 +00:00
parent 752a359d3d
commit a893a41cfe

View File

@@ -2,8 +2,12 @@ sudo: false
language: python language: python
python: python:
- '3.4' - '3.4'
addons:
postgresql: '9.3'
install: install:
- pip install -r requirements_for_test.txt - pip install -r requirements_for_test.txt
before_script:
- psql -c 'create database test_notification_api;' -U postgres
script: script:
- ./scripts/run_tests.sh - ./scripts/run_tests.sh
env: env: