postgis/.gitlab-ci.yml
Sandro Santilli d607347953 apt-get update && install on the same line
This avoids attempts to install outdated packages due to cached steps

git-svn-id: http://svn.osgeo.org/postgis/trunk@14989 b70326c6-7e19-0410-871a-916f4a2858ee
2016-07-05 10:15:29 +00:00

20 lines
637 B
YAML

test:
script:
- apt-get update -qq && apt-get install -y
postgresql-9.4 postgresql-server-dev-9.4
build-essential autoconf libtool libcunit1-dev
xsltproc docbook-xsl docbook-mathml dblatex
libproj-dev libgdal-dev libgeos-dev libjson0-dev
- lsb_release -a
- uname -a
- service postgresql start
- su -l postgres -c "createuser -s `whoami`"
- ./autogen.sh
- ./configure
- make
- make check RUNTESTFLAGS=-v
- make check RUNTESTFLAGS="-v --dumprestore"
- make install
- make installcheck RUNTESTFLAGS=-v
- make installcheck RUNTESTFLAGS="-v --dumprestore"