forked from credativ/pg_snakeoil
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
30 lines (26 loc) · 816 Bytes
/
.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
# run the testsuite on travis-ci.com
---
# versions to run on
env:
- PG_SUPPORTED_VERSIONS=9.2
- PG_SUPPORTED_VERSIONS=9.3
- PG_SUPPORTED_VERSIONS=9.4
- PG_SUPPORTED_VERSIONS=9.5
- PG_SUPPORTED_VERSIONS=9.6
- PG_SUPPORTED_VERSIONS=10
- PG_SUPPORTED_VERSIONS=11
- PG_SUPPORTED_VERSIONS=12
- PG_SUPPORTED_VERSIONS=13
language: C
dist: xenial
before_install:
- sudo apt-get update -qq
install:
# upgrade postgresql-common for new apt.postgresql.org.sh
- sudo apt-get install -y postgresql-common libclamav-dev
- sudo /usr/share/postgresql-common/pgdg/apt.postgresql.org.sh -p -v $PG_SUPPORTED_VERSIONS -i
script:
- make
- sudo make install
- pg_virtualenv -o "pg_snakeoil.signature_dir=$PWD/testfiles" make installcheck
- if test -s regression.diffs; then cat regression.diffs; fi