Support for PG11

- Start using Docker to test in TravisCI
- Support for PG10 and PG11 and remove support for old versions
This commit is contained in:
Mario de Frutos Dieguez
2019-04-10 16:44:55 +02:00
parent ccbc73cd6c
commit a0b2c86645
4 changed files with 25 additions and 21 deletions

4
scripts/ci/docker-test.sh Executable file
View File

@@ -0,0 +1,4 @@
#!/bin/bash
docker run -e PGHOST=localhost -e PGPORT=5432 -v `pwd`:/srv --entrypoint="/bin/bash" ${1} /srv/scripts/ci/run_tests_docker.sh && \
docker ps --filter status=dead --filter status=exited -aq | xargs docker rm -v

View File

@@ -0,0 +1,12 @@
#!/bin/bash
/etc/init.d/postgresql start
cd /srv
make clean-all
make install
cd /srv/src/pg
make test || { cat /srv/src/pg/test/regression.diffs; false; }