forked from postgrespro/pgsphere
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
42 lines (38 loc) · 1.45 KB
/
.travis.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
37
38
39
40
41
42
# run the testsuite on travis-ci.com
---
# versions to run on
env:
- PG_SUPPORTED_VERSIONS=10
- PG_SUPPORTED_VERSIONS=11
- PG_SUPPORTED_VERSIONS=12
- PG_SUPPORTED_VERSIONS=13
- PG_SUPPORTED_VERSIONS=14
- PG_SUPPORTED_VERSIONS=15
- PG_SUPPORTED_VERSIONS=16
language: C
dist: focal
before_install:
# extra apt.pg.o.sh options added in version 204, travis currently has 199 (2019-11-27)
- sudo apt-get -qq update
- sudo apt-get -y install postgresql-common libhealpix-cxx-dev docbook-xml docbook-xsl libxml2-utils xsltproc fop
install:
- sudo /usr/share/postgresql-common/pgdg/apt.postgresql.org.sh -p -v $PG_SUPPORTED_VERSIONS -i
script:
- make PROFILE="-Werror"
- sudo make install
- pg_virtualenv make installcheck
- if test -s regression.diffs; then cat regression.diffs; exit 1; fi
- pg_virtualenv make test
- if test -s regression.diffs; then cat regression.diffs; exit 1; fi
- pg_virtualenv make crushtest
- if test -s regression.diffs; then cat regression.diffs; exit 1; fi
- make clean
- make PROFILE="-Werror" USE_HEALPIX=0
- sudo make USE_HEALPIX=0 install
- pg_virtualenv make USE_HEALPIX=0 installcheck
- if test -s regression.diffs; then cat regression.diffs; exit 1; fi
- pg_virtualenv make USE_HEALPIX=0 test
- if test -s regression.diffs; then cat regression.diffs; exit 1; fi
- pg_virtualenv make USE_HEALPIX=0 crushtest
- if test -s regression.diffs; then cat regression.diffs; exit 1; fi
- make -C doc