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