summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2015-07-06 12:01:27 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2015-07-06 12:01:27 +0000
commitd0c1df368ef1621853d49de5b1702c2911dee54b (patch)
treec8d7576627da52ae11084cc5d04d8acbdad39a68 /.travis.yml
parenta680aa78a7cce8ba38ec8cdebe92655fad1d09e7 (diff)
downloadredmine-d0c1df368ef1621853d49de5b1702c2911dee54b.tar.gz
redmine-d0c1df368ef1621853d49de5b1702c2911dee54b.zip
travis: show postgresql information
git-svn-id: http://svn.redmine.org/redmine/trunk@14416 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index fc9c73715..bfab95b1e 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -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}