Skip to content

Commit

Permalink
travis: show postgresql information
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.redmine.org/redmine/trunk@14416 e93f8b46-1217-0410-a6f0-8f06a7374b81
  • Loading branch information
marutosi committed Jul 6, 2015
1 parent a680aa7 commit d0c1df3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit d0c1df3

Please sign in to comment.