Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 212dda1

Browse files
author
Sergey Shinderuk
committed
Add beta repo for pg17
1 parent f359c01 commit 212dda1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
dist: jammy
22
language: c
33
env:
4-
- PG_MAJOR=17
4+
- PG_MAJOR=17 BETA=1
55
- PG_MAJOR=16
66
- PG_MAJOR=15
77
- PG_MAJOR=14
@@ -10,6 +10,7 @@ env:
1010
before_script:
1111
- curl https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
1212
- echo "deb https://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" | sudo tee -a /etc/apt/sources.list
13+
- 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
1314
- sudo apt-get update
1415
- sudo systemctl stop postgresql
1516
- 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)