forked from postgrespro/pg_probackup
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
56 lines (46 loc) · 1.72 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
os: linux
dist: bionic
language: c
services:
- docker
before_install:
- cp travis/* .
install:
- ./make_dockerfile.sh
- docker-compose build
script:
- docker-compose run tests
# - docker-compose run $(bash <(curl -s https://codecov.io/env)) tests
# - docker run -v $(pwd):/tests --rm centos:7 /tests/travis/backup_restore.sh
notifications:
email:
on_success: change
on_failure: always
# Default MODE is basic, i.e. all tests with PG_PROBACKUP_TEST_BASIC=ON
env:
- PG_VERSION=14 PG_BRANCH=REL_14_STABLE
- PG_VERSION=13 PG_BRANCH=REL_13_STABLE
- PG_VERSION=12 PG_BRANCH=REL_12_STABLE
- PG_VERSION=11 PG_BRANCH=REL_11_STABLE
- PG_VERSION=10 PG_BRANCH=REL_10_STABLE
- PG_VERSION=9.6 PG_BRANCH=REL9_6_STABLE
- PG_VERSION=9.5 PG_BRANCH=REL9_5_STABLE
# - PG_VERSION=12 PG_BRANCH=REL_12_STABLE MODE=archive
# - PG_VERSION=12 PG_BRANCH=REL_12_STABLE MODE=backup
# - PG_VERSION=12 PG_BRANCH=REL_12_STABLE MODE=compression
# - PG_VERSION=12 PG_BRANCH=REL_12_STABLE MODE=delta
# - PG_VERSION=12 PG_BRANCH=REL_12_STABLE MODE=locking
# - PG_VERSION=12 PG_BRANCH=REL_12_STABLE MODE=merge
# - PG_VERSION=12 PG_BRANCH=REL_12_STABLE MODE=page
# - PG_VERSION=12 PG_BRANCH=REL_12_STABLE MODE=replica
# - PG_VERSION=12 PG_BRANCH=REL_12_STABLE MODE=retention
# - PG_VERSION=12 PG_BRANCH=REL_12_STABLE MODE=restore
- PG_VERSION=15 PG_BRANCH=master
jobs:
allow_failures:
- if: env(PG_BRANCH) = master
# - if: env(MODE) IN (archive, backup, delta, locking, merge, replica, retention, restore)
# Only run CI for master branch commits to limit our travis usage
#branches:
# only:
# - master