before_script: - apt-get update - apt-get install -q -y git python-pip libpq-dev python-dev libjpeg-dev zlib1g-dev libxml2-dev libxslt1-dev libgeos-dev python-cairocffi tidy libtidy-dev binutils libproj-dev gdal-bin libpangocairo-1.0-0 - pip install -r requirements.txt - cp Makefile.example Makefile - cp example_project/local_settings.py.gitlab-ci example_project/local_settings.py variables: POSTGRES_DB: gis POSTGRES_USER: gis POSTGRES_PASSWORD: "gis" build: stage: "build" script: "make build_gitlab" services: - iggdrasil/postgis-1.5 tags: - wheezy only: - v1.0 - wheezy build-v2: stage: "build" script: "make build_gitlab" services: - mdillon/postgis tags: - stretch only: - master - develop - v2.0 - stretch test: stage: "test" script: "make test_gitlab" services: - iggdrasil/postgis-1.5 tags: - wheezy only: - v1.0 - wheezy test-v2: stage: "test" script: "make test_gitlab" services: - mdillon/postgis tags: - stretch only: - master - develop - v2.0 - stretch debian: stage: "test" script: - apt-get install -q -y devscripts build-essential lintian wget - make deb - wget -O /etc/apt/sources.list.d/iggdrasil.list http://deb.iggdrasil.net/dists/wheezy/iggdrasil.list - wget -O - http://deb.iggdrasil.net/contact@iggdrasil.net.gpg.key | apt-key add - - apt-get update - apt-get install -q -y --force-yes python-django-ishtar locales-all - INSTANCE=my_ishtar URL=localhost ishtar-prepare-instance - dpkg -i python-django-ishtar_*.deb services: - iggdrasil/postgis-1.5 tags: - wheezy only: - wheezy debian-v2: stage: "test" script: - apt-get install -q -y devscripts build-essential lintian wget - make deb - wget -O /etc/apt/sources.list.d/iggdrasil.list http://deb.iggdrasil.net/dists/wheezy/iggdrasil.list - wget -O - http://deb.iggdrasil.net/contact@iggdrasil.net.gpg.key | apt-key add - - apt-get update - apt-get install -q -y --force-yes python-django-ishtar locales-all - INSTANCE=my_ishtar URL=localhost ishtar-prepare-instance - dpkg -i python-django-ishtar_*.deb services: - mdillon/postgis tags: - stretch only: - stretch