From 2aece82c21e7a652901027c136ef58ac6b1a28d3 Mon Sep 17 00:00:00 2001 From: Daniele Varrazzo Date: Thu, 2 Mar 2017 17:28:01 +0000 Subject: Build psycopg using libpq 9.1 Building with 9.2 reported failing on CentOS 7 in issue #520. I would leave this commit in a branch aside for the moment, because this is useful but it cannot replace building with more modern libpq, because some features are not compiled in and some tests skipped. --- .travis.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 4d558f1..050e9a7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,7 +14,9 @@ python: - 3.2 install: - - python setup.py install + - wget -O - http://initd.org/psycopg/upload/postgresql/postgresql-9.1.tar.bz2 + | sudo tar xjf - -C /usr/lib/postgresql + - python setup.py build_ext --pg-config=/usr/lib/postgresql/9.1/bin/pg_config install - sudo scripts/travis_prepare.sh script: -- cgit v1.2.1