language: c
addons:
apt:
+ sources:
+ - sourceline: 'deb http://apt.postgresql.org/pub/repos/apt/ xenial-pgdg main'
+ key_url: 'https://www.postgresql.org/media/keys/ACCC4CF8.asc'
+ update: true
packages:
- debhelper
- devscripts
- libudns-dev
- lintian
- pandoc
+ - postgresql-9.5
+ - postgresql-11
- python
- valgrind
compiler:
- clang
- gcc
env:
+ global:
+ - PGVERSION=11
matrix:
- configure_args=''
+ - configure_args='' PGVERSION=9.5
- configure_args='--disable-evdns --without-cares --without-udns'
- configure_args='--enable-evdns --without-cares --without-udns'
- configure_args='--disable-evdns --with-cares --without-udns --disable-werror'
- configure_args='--with-openssl'
- configure_args='--without-openssl'
- use_efence=yes configure_args='--with-openssl --with-pam'
+ - use_efence=yes PGVERSION=9.5 configure_args='--with-openssl --with-pam'
- use_valgrind=yes configure_args='--without-openssl'
+ - use_valgrind=yes PGVERSION=9.5 configure_args='--without-openssl'
script: |
set -e
- PATH=/usr/lib/postgresql/9.5/bin:$PATH
+ PATH=/usr/lib/postgresql/${PGVERSION}/bin:$PATH
etc/optscan.sh
./autogen.sh
./configure --prefix=$HOME/install --enable-cassert --enable-werror --without-cares $configure_args
./newsite.sh TestCA1 random C=QQ O=Org1 L=computer OU=Dev
) > /dev/null
-export PATH=/usr/lib/postgresql/9.4/bin:$PATH
export PGDATA=$PWD/pgdata
export PGHOST=localhost
export PGPORT=6667