blob: 7a5476081d9536470a59d54cc98d8df47269f0c5 (
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
31
32
33
34
35
36
37
38
|
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 test_gitlab
- 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
only:
- wheezy
|