Skip to content

Commit 2baea32

Browse files
committed
Fix AppVeyor Ubuntu build
1 parent 46b9baa commit 2baea32

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

appveyor.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,12 @@ install:
5656
- cmd: 7z x postgis-bundle-pg96-2.3.2x64.zip > nul
5757
- cmd: xcopy /s /y /q postgis-bundle-pg96-2.3.2x64 "C:\Program Files\PostgreSQL\9.6"
5858

59-
# install PostgreSQL 9.6 and PostGIS 2.3 on Ubuntu
59+
# install PostgreSQL 9.6 and PostGIS 2.4 on Ubuntu
60+
# note: PostGIS 2.3 not available in Ubuntu Bionic 18.04 repository
6061
- sh: sudo add-apt-repository "deb http://apt.postgresql.org/pub/repos/apt/ $(lsb_release -sc)-pgdg main"
6162
- sh: wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
6263
- sh: sudo apt-get update
63-
- sh: sudo apt-get -y install postgresql-9.6 postgresql-9.6-postgis-2.3
64+
- sh: sudo apt-get -y install postgresql-9.6 postgresql-9.6-postgis-2.4
6465
- sh: sudo sed -i 's/port = [0-9]\+/port = 5432/' /etc/postgresql/9.6/main/postgresql.conf
6566

6667
#---------------------------------#

0 commit comments

Comments
 (0)