Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Adding custom Ubuntu repo for PostGIS install
  • Loading branch information
audaciouscode committed Aug 1, 2017
1 parent 57b9af5 commit 58d23e4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .travis.yml
Expand Up @@ -11,13 +11,17 @@ service:
- postgresql

addons:
postgresql: 9.5
apt:
packages:
- spatialite-bin

before_install:
- export PYTHONPATH=$HOME/builds/audaciouscode/pdk
- sudo /etc/init.d/postgresql stop
- wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
- sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg main 9.5" >> /etc/apt/sources.list.d/postgresql.list'
- sudo apt-get update
- sudo apt-get install postgresql-9.5 postgresql-9.5-postgis

install:
- pip install -r requirements.txt
Expand Down

0 comments on commit 58d23e4

Please sign in to comment.