1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-19 15:01:14 +00:00

travis: show postgresql information

git-svn-id: http://svn.redmine.org/redmine/trunk@14416 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2015-07-06 12:01:27 +00:00
parent a680aa78a7
commit d0c1df368e

View 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}