Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Modify Travis config to create spatial database to use

  • Loading branch information...
commit 17ae19340f3a66b1687af525e1fd8c0608cefa13 1 parent ea6ba7f
David Winterbottom authored February 23, 2014

Showing 1 changed file with 8 additions and 4 deletions. Show diff stats Hide diff stats

  1. 12  .travis.yml
12  .travis.yml
... ...
@@ -1,12 +1,16 @@
1 1
 language: python
  2
+
2 3
 python:
3 4
   - 2.7
4  
-before_install:
5  
- - sudo apt-get update -qq
6  
- - sudo apt-get install -qq spatialite-bin libspatialite3 libgeos++-dev libgdal-dev libproj0
7  
- - make geoip
  5
+
8 6
 install:
9 7
   - "pip install -r requirements.txt --use-mirrors"
10 8
   - "python setup.py develop"
  9
+
  10
+before_script:
  11
+  - psql -c 'CREATE DATABASE oscar_stores;' -U postgres
  12
+  - psql -c 'CREATE EXTENSION postgis;' -U postgres -d oscar_stores
  13
+  - psql -c 'CREATE EXTENSION postgis_topology;' -U postgres -d oscar_stores
  14
+
11 15
 script:
12 16
   - coverage run ./runtests.py

0 notes on commit 17ae193

Please sign in to comment.
Something went wrong with that request. Please try again.