Start and initialize PostgreSQL on OS X in Travis CI builds.

This commit is contained in:
Alexey Kopytov
2016-09-09 23:21:22 +03:00
parent d853d91673
commit 4503587806

View File

@ -30,8 +30,10 @@ before_install:
brew uninstall libtool
brew update --quiet
brew install libtool mysql
# OS X requires mysqld to be started explicitly
# OS X requires servers to be started explicitly
brew services start mysql
pg_ctl -D /usr/local/var/postgres start
createuser -s postgres;
;;
esac