File: .drone.yml

package info (click to toggle)
postgis 2.5.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 75,792 kB
  • sloc: ansic: 139,314; sql: 136,281; xml: 48,954; sh: 4,906; perl: 4,509; makefile: 2,897; python: 1,198; yacc: 441; cpp: 305; lex: 132
file content (34 lines) | stat: -rw-r--r-- 997 bytes parent folder | download
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
# See http://readme.drone.io/0.5/usage/overview

# See https://git.osgeo.org/gogs/postgis/postgis-docker
test-image: &test-image docker.kbt.io/postgis/build-test:trisquel2

matrix:
  PGVER:
    - 9.4
    - 9.5
    - 9.6
    - 10

pipeline:
  clone:
    image: plugins/git
    depth: 20
    recursive: false
  build:
    image: *test-image
    pull: true
    commands:
      - service postgresql start $PGVER
      - export PGPORT=`grep ^port /etc/postgresql/$PGVER/main/postgresql.conf | awk '{print $3}'`
      - export PATH=/usr/lib/postgresql/$PGVER/bin:$PATH
      - psql --version
      - ./autogen.sh
      - ./configure CFLAGS="-O0 -Wall -fno-omit-frame-pointer -Werror" --without-interrupt-tests
      - make
      # we should maybe wait for postgresql service to startup here...
      - psql -c "select version()" template1
      - make check RUNTESTFLAGS=-v
      - make install
      - utils/check_all_upgrades.sh
        `grep '^POSTGIS_' Version.config | cut -d= -f2 | paste -sd '.'`