Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
62 lines (45 sloc) 1.16 KB
language: SQL
dist: bionic
sudo: true
matrix:
include:
- name: sql
env: TEST=sql
- name: extension
env: TEST=extension PG=95
- name: pgxn
env: TEST=pgxn PG=95
- name: extension-9.5
env: TEST=extension PG=95
- name: extension-9.6
env: TEST=extension PG=96
- name: extension-10
env: TEST=extension PG=10
- name: extension-11
env: TEST=extension PG=11
- name: extension-12
env: TEST=extension PG=12
- name: pgxn-9.5
env: TEST=pgxn PG=95
- name: pgxn-9.6
env: TEST=pgxn PG=96
- name: pgxn-10
env: TEST=pgxn PG=10
- name: pgxn-11
env: TEST=pgxn PG=11
- name: pgxn-12
env: TEST=pgxn PG=12
services:
- docker
addons:
postgresql: "9.5"
apt:
packages:
- postgresql-9.5-postgis-2.3
before_install:
- psql -c 'create database pgmemento_testdb;' -U postgres
- psql --version
script:
- if [[ $TEST == "sql" ]] ; then psql -U postgres -d pgmemento_testdb -a -f TEST.sql ; fi
- if [[ $TEST == "extension" ]] ; then ./extension/tests/run.sh $PG ; fi
- if [[ $TEST == "pgxn" ]] ; then ./extension/pgxn/tests/run.sh $PG ; fi
You can’t perform that action at this time.