Skip to content

Commit

Permalink
Updating requirements and Travis CI build files.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ubuntu committed Apr 29, 2017
1 parent a7072a5 commit 76e7e14
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 22 deletions.
22 changes: 1 addition & 21 deletions .travis.yml
@@ -1,9 +1,6 @@
sudo: required

env:
global:
- PGPORT=5433
- PGHOST=localhost

language: python

Expand All @@ -14,21 +11,6 @@ service:
- postgresql

addons:
apt:
sources:
- precise-pgdg-9.5
packages:
- postgresql-9.5
- postgresql-contrib-9.5
- postgis
- postgresql-9.5-postgis-2.2
- postgresql-9.5-postgis-scripts
- libgeos-3.2.2
- libgeos-c1
- libproj0
- proj-data
- proj-bin

postgresql: 9.5

before_install:
Expand All @@ -38,10 +20,8 @@ install:
- pip install -r requirements.txt

before_script:
- sudo cp /etc/postgresql/9.4/main/pg_hba.conf /etc/postgresql/9.5/main/pg_hba.conf
- sudo /etc/init.d/postgresql restart
- psql -U postgres -c "create extension postgis"
- psql -c "CREATE DATABASE travisci;" -U postgres
- psql -U postgres -c "CREATE DATABASE travisci;"
- psql -U postgres -c "CREATE EXTENSION postgis" -d travisci
- psql -U postgres -c "CREATE EXTENSION postgis_topology" -d travisci

Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Expand Up @@ -6,7 +6,7 @@ gunicorn==19.7.1
lockfile==0.12.2
psycopg2==2.7.1
python-dateutil==2.6.0
pytz==2016.10
pytz==2017.2
six==1.10.0
whitenoise==3.3.0
wsgiref==0.1.2

0 comments on commit 76e7e14

Please sign in to comment.