Skip to content

Commit 8255462

Browse files
committed
Remove UbuntuGIS ppa
1 parent 45fc877 commit 8255462

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

.travis.yml

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,11 @@ before_install:
3838
- sudo apt-get update
3939

4040
install:
41-
# GeoDjango dependencies
42-
- sudo apt-get install -y python-software-properties
43-
- sudo apt-add-repository -y ppa:ubuntugis/ppa
44-
- sudo apt-get update > /dev/null
45-
- sudo apt-get install -y libgdal-dev libproj-dev libgeos-dev libspatialite-dev
46-
- if [[ $DATABASE == sqlite ]]; then pip
41+
# GeoDjango dependencies
42+
- sudo apt-get update -qq
43+
- sudo apt-get install -y libproj-dev libgeos-dev
44+
45+
- if [[ $DATABASE == sqlite ]]; then sudo apt-get install -y libspatialite-dev && pip
4746
install git+git://github.com/tinio/pysqlite.git@extension-enabled#egg=pysqlite; fi
4847
- if [[ $DATABASE == postgres ]]; then pip install psycopg2; fi
4948

@@ -53,10 +52,8 @@ install:
5352
install https://github.com/django/django/tarball/master/django.tar.gz#egg=django; else pip
5453
install -q Django==$DJANGO_VERSION --use-mirrors; fi
5554

56-
5755
- pip install coverage
58-
59-
- pip install flake8 --use-mirrors
56+
- pip install flake8
6057

6158
- python setup.py develop
6259
- npm install leaflet/tests/
@@ -65,7 +62,6 @@ before_script:
6562
- flake8 --ignore=E501 leaflet
6663
- if [[ $DATABASE == postgres ]]; then psql -c 'create database test_db;' -U postgres; fi
6764
- if [[ $DATABASE == postgres ]]; then psql -c 'CREATE EXTENSION postgis;' -U postgres -d test_db; fi
68-
- if [[ $DATABASE == postgres ]]; then psql -c 'CREATE EXTENSION postgis_topology;' -U postgres -d test_db; fi
6965

7066
script:
7167
- python quicktest.py leaflet --db=$DATABASE

0 commit comments

Comments
 (0)