From 4c48aec482c94e537b60ebd6ec75bff4fbd94f18 Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Sun, 16 Feb 2020 18:45:32 +0300 Subject: [PATCH] Remove extension update tests, it's not really possible to check update chain from 1.0.0 --- .travis.yml | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/.travis.yml b/.travis.yml index b237ac6..07baf4b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -33,14 +33,3 @@ script: - sudo make install - make installcheck - if test -e regression.diffs; then cat regression.diffs; fi - - - sudo -u postgres psql -c "CREATE DATABASE ext_test1;" - - sudo -u postgres psql -d ext_test1 -c "CREATE EXTENSION libversion" - - sudo -u postgres psql -d ext_test1 -c "SELECT pg_catalog.pg_describe_object(classid, objid, 0) FROM pg_catalog.pg_depend WHERE refclassid = 'pg_catalog.pg_extension'::pg_catalog.regclass AND refobjid = (SELECT oid FROM pg_catalog.pg_extension WHERE extname='libversion') and deptype='e' order by 1" > extension_contents.a - - - sudo -u postgres psql -c "CREATE DATABASE ext_test2;" - - sudo -u postgres psql -d ext_test2 -c "CREATE EXTENSION libversion VERSION '1.0.0'" - - sudo -u postgres psql -d ext_test2 -c "ALTER EXTENSION libversion UPDATE" - - sudo -u postgres psql -d ext_test2 -c "SELECT pg_catalog.pg_describe_object(classid, objid, 0) FROM pg_catalog.pg_depend WHERE refclassid = 'pg_catalog.pg_extension'::pg_catalog.regclass AND refobjid = (SELECT oid FROM pg_catalog.pg_extension WHERE extname='libversion') and deptype='e' order by 1" > extension_contents.b - - - if cmp -s extension_contents.a extension_contents.b; then echo "Extension update check passed"; else echo "Extension update sanity check failed!"; diff -u extension_contents.a extension_contents.b; false; fi