1
0
mirror of https://github.com/danog/ext-pq.git synced 2024-12-04 02:08:03 +01:00
ext-pq/travis/configure-postgres.sh

5 lines
151 B
Bash
Raw Normal View History

2014-12-14 15:37:43 +01:00
#!/bin/sh -x
psql -c 'create database pq_test;' -U postgres
echo '<?php const PQ_DSN = "postgres://postgres@localhost/pq_test";' > ./tests/_setup.inc