]> granicus.if.org Git - postgis/commitdiff
try to fix up the run step for using docker hub postgis image
authorRegina Obe <lr@pcorp.us>
Tue, 15 Jan 2019 21:45:01 +0000 (21:45 +0000)
committerRegina Obe <lr@pcorp.us>
Tue, 15 Jan 2019 21:45:01 +0000 (21:45 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@17154 b70326c6-7e19-0410-871a-916f4a2858ee

.drone-1.0.yml

index 6d8464e91c035f1ee5abdb12ce18def144bfd14b..0c8e4a56dc55076446f8ef44e0767e2351cecac6 100644 (file)
@@ -82,18 +82,5 @@ steps:
     image: *test-image
     pull: true
     commands:
-      - export PGVER=10
-      - service postgresql start $PGVER
-      - export PGPORT=`grep ^port /etc/postgresql/$PGVER/main/postgresql.conf | awk '{print $3}'`
-      - export PATH=/usr/lib/postgresql/$PGVER/bin:$PATH
-      - psql --version
-      - ./autogen.sh
-      - ./configure CFLAGS="-O0 -Wall -fno-omit-frame-pointer -Werror" --without-interrupt-tests
-      - make -j
-      # we should maybe wait for postgresql service to startup here...
-      - psql -c "select version()" template1
-      - make check RUNTESTFLAGS=-v
-      - make install
-      - utils/check_all_upgrades.sh
-        `grep '^POSTGIS_' Version.config | cut -d= -f2 | paste -sd '.'`
+      - bash ci/travis/run_tests.sh
 ...