Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit c322958

Browse filesBrowse files
author
Sergey Shinderuk
committed
Build with PostgreSQL 18devel in Travis
1 parent 193ce08 commit c322958
Copy full SHA for c322958

File tree

1 file changed

+18
-4
lines changed
Filter options

1 file changed

+18
-4
lines changed

‎.travis.yml

Copy file name to clipboardExpand all lines: .travis.yml
+18-4Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,30 @@
11
dist: jammy
22
language: c
33
env:
4-
- PG_MAJOR=17 BETA=1
4+
- PG_MAJOR=18 SNAPSHOT=1
5+
- PG_MAJOR=17
56
- PG_MAJOR=16
67
- PG_MAJOR=15
78
- PG_MAJOR=14
89
- PG_MAJOR=13
9-
- PG_MAJOR=12
1010
before_script:
1111
- curl https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
12-
- 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
12+
- |
13+
if [ -n "${SNAPSHOT}" ]; then
14+
echo "deb https://apt.postgresql.org/pub/repos/apt/ $(lsb_release -cs)-pgdg-snapshot main ${PG_MAJOR}"
15+
elif [ -n "${BETA}" ]; then
16+
echo "deb https://apt.postgresql.org/pub/repos/apt/ $(lsb_release -cs)-pgdg main ${PG_MAJOR}"
17+
else
18+
echo "deb https://apt.postgresql.org/pub/repos/apt/ $(lsb_release -cs)-pgdg main"
19+
fi | sudo tee /etc/apt/sources.list.d/postgresql.list
20+
- |
21+
if [ -n "${SNAPSHOT}" ]; then
22+
{
23+
echo "Package: *"
24+
echo "Pin: origin apt.postgresql.org"
25+
echo "Pin-Priority: 600"
26+
} | sudo tee /etc/apt/preferences.d/pgdg.pref
27+
fi
1428
- sudo apt-get update
1529
- sudo systemctl stop postgresql
1630
- 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.