From 6583a2fef031fb9aafdc2dc1ab901e8780d45029 Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Tue, 21 Jun 2016 15:41:29 +0200 Subject: Add postgres to CI --- autotest.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'autotest.sh') diff --git a/autotest.sh b/autotest.sh index 57d65e692d4..4dda2be43e5 100755 --- a/autotest.sh +++ b/autotest.sh @@ -253,7 +253,9 @@ function execute_tests { echo "Postgres is up." else - dropdb -U "$DATABASEUSER" "$DATABASENAME" || true + if [ -z "$DRONE" ] ; then # no need to drop the DB when we are on CI + dropdb -U "$DATABASEUSER" "$DATABASENAME" || true + fi fi fi if [ "$DB" == "oci" ] ; then -- cgit v1.2.3