summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: 311bdd2b02824993a70d79a0e4dc52711d63ca65 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
before_script:
  - apt-get update
  - apt-get install -q -y python-pip libpq-dev python-dev libjpeg-dev zlib1g-dev libxml2-dev libxslt1-dev libgeos-dev tidy
  - pip install -q -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"

services:
  - iggdrasil/postgis-1.5

master:
  script: "make test_gitlab"
  only:
    - master

stable:
  script: "make test_gitlab"
  only:
    - v0.9

debian:
  script:
    - make deb
  only:
    - v0.9