Skip to content

Commit 1ef72ec

Browse files
committed
.travis.yml: Switch to xenial
1 parent 1a03215 commit 1ef72ec

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.travis.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,18 @@ env:
99
- PG_SUPPORTED_VERSIONS=12
1010

1111
language: C
12-
dist: trusty
12+
dist: xenial
1313
sudo: required
1414

1515
before_install:
1616
# apt.postgresql.org is already configured, we just need to add devel
1717
- |
18-
DIST=trusty-pgdg
1918
case $PG_SUPPORTED_VERSIONS in
20-
1*)
19+
12)
2120
# update pgdg-source.list
2221
sudo sed -i -e "s/pgdg.*/pgdg-testing main $PG_SUPPORTED_VERSIONS/" /etc/apt/sources.list.d/pgdg*.list
23-
DIST=trusty-pgdg-testing
24-
;;
22+
DIST=xenial-pgdg-testing ;;
23+
*) DIST=xenial-pgdg ;;
2524
esac
2625
- sudo apt-get -qq update
2726

0 commit comments

Comments
 (0)