Skip to content

Commit

Permalink
[FIX] update travis script to allow install of postgis on trusty
Browse files Browse the repository at this point in the history
  • Loading branch information
baimont committed May 7, 2021
1 parent b5f8dbb commit cae2374
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ addons:
apt:
packages:
- expect-dev # provides unbuffer utility
- postgis postgresql-9.6-postgis-2.3
- postgresql-9.6-postgis-2.3-scripts

stages:
Expand All @@ -24,6 +23,9 @@ jobs:
- stage: linting
name: "pre-commit"
before_install:
- sudo add-apt-repository -y "deb https://apt-archive.postgresql.org/pub/repos/apt trusty-pgdg-archive main"
- sudo apt-get -q update
- sudo apt-get -y install -t trusty-pgdg-archive postgis postgresql-9.6-postgis-2.3
install: pip install pre-commit
script: pre-commit run --all --show-diff-on-failure --verbose --color always
after_success:
Expand Down

0 comments on commit cae2374

Please sign in to comment.