fix: Use Travis's postgres service
@@ -5,6 +5,8 @@ branches:
only:
- master
- develop
+services:
+ - postgresql
dist:
- trusty
sudo:
@@ -13,6 +15,8 @@ before_install:
- sudo apt-get purge python-openssl
- sudo apt-get install libffi-dev
- sudo pip install pyopenssl
+- psql postgres -c "CREATE USER owtf_db_user WITH PASSWORD 'jgZKW33Q+HZk8rqylZxaPg1lbuNGHJhgzsq3gBKV32g=';"
+- psql postgres -c "CREATE DATABASE owtf_db WITH OWNER owtf_db_user ENCODING 'utf-8' TEMPLATE template0;"
install:
- echo '\n\n' | python setup.py develop
before_script:
