blob: f7a41c5b3cae0725ee69c1f769c6b18365018cba (
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
before_script:
- apt-get update
- apt-get install -q -y git sed python3-pip libpq-dev python3-dev libjpeg-dev zlib1g-dev libxml2-dev libxslt1-dev libgeos-dev python3-cairocffi tidy libtidy-dev binutils libproj-dev gdal-bin libpangocairo-1.0-0 pandoc graphviz
- apt-get install -q -y locales
- echo "fr_FR.UTF-8 UTF-8" >> /etc/locale.gen
- dpkg-reconfigure --frontend=noninteractive locales && update-locale LANG=$LANG
- pip3 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-v3:
stage: "build"
script: "make build_gitlab"
services:
- mdillon/postgis
tags:
- buster
only:
- main
- develop
test-v3:
stage: "test"
script: "make test_gitlab"
services:
- mdillon/postgis
tags:
- buster
only:
- main
- develop
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:
- mdillon/postgis
tags:
- buster
only:
- buster
|