Skip to content

Commit 220348e

Browse files
committed
Install postgres on OS X with homebrew
1 parent 31f1289 commit 220348e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,16 +39,16 @@ jobs:
3939

4040
- os: osx
4141
osx_image: xcode11.2
42-
services:
43-
- postgresql
4442
addons:
4543
homebrew:
4644
packages:
4745
- psqlodbc
4846
- sqliteodbc
47+
- postgresql
4948
env: SQLITE_DRIVER=/usr/local/opt/sqliteodbc/lib/libsqlite3odbc.dylib POSTGRES_DRIVER=/usr/local/opt/psqlodbc/lib/sqlodbca.so
5049
before_script:
51-
- psql -c "CREATE USER foo WITH PASSWORD 'bar';" -U postgres
50+
- pg_ctl -D /usr/local/var/postgres start
51+
- psql postgres -c "CREATE USER foo WITH PASSWORD 'bar';"
5252
- createdb -O foo foo
5353
script:
5454
- cargo test -- --nocapture || travis_terminate 1

0 commit comments

Comments
 (0)