[Pkg-owncloud-commits] [php-sabredav] 189/220: Travis postgresql configuration

David Prévot taffit at moszumanska.debian.org
Thu May 12 01:21:26 UTC 2016


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository php-sabredav.

commit 6f49d695e19374454eb3a8144f9395bcb3474118
Author: Evert Pot <me at evertpot.com>
Date:   Thu Apr 28 14:56:39 2016 +0700

    Travis postgresql configuration
---
 .travis.yml         | 2 ++
 tests/bootstrap.php | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/.travis.yml b/.travis.yml
index 8e7e04a..19903c3 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -16,11 +16,13 @@ env:
 
 services:
   - mysql
+  - postgresql
 
 sudo: false
 
 before_script:
   - mysql -e 'create database sabredav_test'
+  - psql -c 'create database sabredav_test' -U postgres
   - phpenv config-rm xdebug.ini; true
   #  - composer self-update
   - composer update --prefer-dist $LOWEST_DEPS
diff --git a/tests/bootstrap.php b/tests/bootstrap.php
index 27c1941..26eb32a 100644
--- a/tests/bootstrap.php
+++ b/tests/bootstrap.php
@@ -20,7 +20,7 @@ $config = [
     'SABRE_MYSQLDSN'  => 'mysql:host=127.0.0.1;dbname=sabredav_test',
     'SABRE_MYSQLUSER' => 'sabredav',
     'SABRE_MYSQLPASS' => '',
-    'SABRE_PGSQLDSN'  => 'pgsql:host=localhost;dbname=sabredav;user=sabredav;password=sabredav',
+    'SABRE_PGSQLDSN'  => 'pgsql:host=localhost;dbname=sabredav_test;user=sabredav;password=sabredav',
 ];
 
 if (file_exists(__DIR__ . '/config.user.php')) {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-php/php-sabredav.git



More information about the Pkg-owncloud-commits mailing list