]> source.dussan.org Git - redmine.git/commitdiff
travis: show postgresql information
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Mon, 6 Jul 2015 12:01:27 +0000 (12:01 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Mon, 6 Jul 2015 12:01:27 +0000 (12:01 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@14416 e93f8b46-1217-0410-a6f0-8f06a7374b81

.travis.yml

index fc9c737159631de0601fd724e269dc10b3230c1f..bfab95b1eff9e9f7d27ae36fecf33b2a5eab8229 100644 (file)
@@ -75,6 +75,12 @@ before_install:
         sudo apt-get update -q ;
         sudo apt-get install -q -y -o Dpkg::Options::=--force-confnew mysql-server ;
       fi
+    elif [[ $DB =~ postgresql ]] ;
+    then
+      psql --version ;
+      psql -c "SHOW SERVER_VERSION" -U postgres ;
+      psql -c "SHOW SERVER_ENCODING" -U postgres ;
+      psql -c "SHOW DateStyle" -U postgres ;
     fi
 script:
   - export DATABASE_ADAPTER=${DB}