]> granicus.if.org Git - postgis/commitdiff
Wait for database to be up before proceeding
authorSandro Santilli <strk@kbt.io>
Tue, 9 Jan 2018 20:29:32 +0000 (20:29 +0000)
committerSandro Santilli <strk@kbt.io>
Tue, 9 Jan 2018 20:29:32 +0000 (20:29 +0000)
git-svn-id: http://svn.osgeo.org/postgis/branches/2.3@16245 b70326c6-7e19-0410-871a-916f4a2858ee

.drone.yml

index 3dfef9a247aae6669cd41ccee739ca96e86fa5c8..dced1b21c54f79d8910d50dd81bc8f4ab3d0688c 100644 (file)
@@ -19,6 +19,7 @@ pipeline:
     image: *test-image
     commands:
       - service postgresql start
+      - while :; do psql -tAc "select version()" && break; sleep 10; done
       - make check RUNTESTFLAGS=-v
       - make install
       - utils/check_all_upgrades.sh