Skip to content

Commit cfdf2f4

Browse files
authored
Merge pull request #77 from postgrespro/travis-pg17
Build and test with PostgreSQL 17 beta in Travis CI
2 parents 54786ad + f3892e0 commit cfdf2f4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: .travis.yml

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
dist: jammy
22
language: c
33
env:
4+
- PG_MAJOR=17 BETA=1
45
- PG_MAJOR=16
56
- PG_MAJOR=15
67
- PG_MAJOR=14
@@ -10,6 +11,7 @@ env:
1011
before_script:
1112
- curl https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
1213
- echo "deb https://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" | sudo tee -a /etc/apt/sources.list
14+
- if [ -n "${BETA}" ]; then echo "deb https://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main ${PG_MAJOR}" | sudo tee -a /etc/apt/sources.list; fi
1315
- sudo apt-get update
1416
- sudo systemctl stop postgresql
1517
- sudo apt-get install -y --no-install-recommends postgresql-client-${PG_MAJOR} postgresql-${PG_MAJOR} postgresql-server-dev-${PG_MAJOR}

0 commit comments

Comments
 (0)