From 45035878065cc4eaa5ed1262fddc260e08e57e17 Mon Sep 17 00:00:00 2001 From: Alexey Kopytov Date: Fri, 9 Sep 2016 23:21:22 +0300 Subject: [PATCH] Start and initialize PostgreSQL on OS X in Travis CI builds. --- .travis.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 52e8932..508cd12 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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