forked from giggls/mapnik-german-l10n
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitlab-ci.yml
37 lines (33 loc) · 881 Bytes
/
.gitlab-ci.yml
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
# * build postgresql-*-osml10n_*_amd64.deb
# * run tests for the osml10n and osml10n_thai_transcript
image: debian:10
variables:
LANG: C.UTF-8
build:
stage: build
# instead of calling g++ directly you can also use some build toolkit like make
# install the necessary build tools when needed
before_script:
- apt-get update
- apt-get -y install devscripts equivs
- mk-build-deps -t "apt-get -y" -i debian/control
script:
- make deb
- mkdir build
- mv ../*.deb ../*.buildinfo ../*.changes build
artifacts:
paths:
- build/postgresql-*-osml10n_*.deb
tags:
- IAD
# run tests using the binary built before
test:
stage: test
before_script:
- apt-get update
- apt-get -y install ./build/postgresql-*-osml10n_*_amd64.deb
- pip3 install tltk
script:
- ./tests/runtests_in_virtualenv.sh
tags:
- IAD