2019-12-28 09:28:52 +00:00
|
|
|
dist: bionic
|
2015-03-13 04:42:31 +00:00
|
|
|
language: c
|
2019-04-23 16:58:28 +00:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
2019-12-28 09:28:52 +00:00
|
|
|
- sourceline: 'deb http://apt.postgresql.org/pub/repos/apt/ bionic-pgdg main'
|
2019-04-23 16:58:28 +00:00
|
|
|
key_url: 'https://www.postgresql.org/media/keys/ACCC4CF8.asc'
|
|
|
|
update: true
|
|
|
|
packages:
|
|
|
|
- liburiparser-dev
|
2015-03-13 04:42:31 +00:00
|
|
|
env:
|
|
|
|
- PGVERSION=9.3
|
|
|
|
- PGVERSION=9.4
|
2019-04-23 16:21:16 +00:00
|
|
|
- PGVERSION=9.5
|
|
|
|
- PGVERSION=9.6
|
|
|
|
- PGVERSION=10
|
|
|
|
- PGVERSION=11
|
2019-12-28 09:28:52 +00:00
|
|
|
- PGVERSION=12
|
2019-04-23 16:58:28 +00:00
|
|
|
script: |
|
|
|
|
set -e
|
|
|
|
PATH=/usr/lib/postgresql/$PGVERSION/bin:$PATH
|
|
|
|
sudo apt-get install postgresql-$PGVERSION postgresql-server-dev-$PGVERSION
|
|
|
|
sudo pg_createcluster --start $PGVERSION test -p 55435 -- -A trust
|
|
|
|
make all
|
|
|
|
sudo make install
|
|
|
|
PGPORT=55435 make installcheck PGUSER=postgres
|