uk_yqa
Last Updated: February 25, 2016
·
448
· johnallen3d
133fd374413c6a93102975e1da1784df

Install MongoDB FDW on Travis CI

I needed to install the MongoDB FDW for Postgresql on Travis CI and this worked for me. Assumes version PG v9.3.

# in travis.yml
before_script:
  - script/install_fdw
# script/install_fdw
#!/bin/sh

sudo apt-get install postgresql-server-dev-9.3
git clone https://github.com/citusdata/mongo_fdw
cd mongo_fdw/
PATH=/usr/lib/postgresql/9.3/bin/:$PATH make
sudo PATH=/usr/lib/postgresql/9.3/bin/:$PATH make install
Say Thanks
Respond