Skip to content

Commit 3609b8d

Browse files
authored
Merge pull request scala#11108 from lrytz/travis-fix
Adjust apt source for postgres, fixes `apt update` on spec build
2 parents 5d7d97f + 0c53a34 commit 3609b8d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ jobs:
4242
- bundle install --path vendor/bundle
4343
# https://travis-ci.community/t/travis-focal-ubuntu-image-uses-now-expired-mongodb-4-4-package/14293/3
4444
- wget -qO - https://www.mongodb.org/static/pgp/server-4.4.asc | sudo apt-key add -
45+
# https://www.postgresql.org/about/news/announcing-apt-archivepostgresqlorg-2024
46+
- sudo sed -i 's|http://apt.postgresql.org/pub/repos/apt|https://apt-archive.postgresql.org/pub/repos/apt|g' /etc/apt/sources.list.d/postgresql.list
4547
# cribbed from https://github.com/SebastiaanKlippert/go-wkhtmltopdf/blob/master/.travis.yml
4648
- sudo apt-get update
4749
- sudo apt-get install -y build-essential xorg xfonts-75dpi libpng16-16 libssl1.1

0 commit comments

Comments
 (0)