Skip to content

Commit

Permalink
try postgis tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tbonfort committed Sep 19, 2012
1 parent 84ca815 commit d4f4b0d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .travis.yml
Expand Up @@ -7,10 +7,13 @@ before_install:
- git submodule update --init --recursive
- sudo add-apt-repository -y ppa:ubuntugis/ubuntugis-unstable
- sudo apt-get update -qq
- sudo apt-get install -qq libpq-dev libpng12-dev libjpeg-dev libgif-dev libgeos-dev libgd2-noxpm-dev libfreetype6-dev libfcgi-dev libcurl4-gnutls-dev libcairo2-dev libgdal1-dev libproj-dev libxml2-dev
- sudo apt-get install -qq postgis libpq-dev libpng12-dev libjpeg-dev libgif-dev libgeos-dev libgd2-noxpm-dev libfreetype6-dev libfcgi-dev libcurl4-gnutls-dev libcairo2-dev libgdal1-dev libproj-dev libxml2-dev
- sudo apt-get install php-pear
- sudo pear config-set auto_discover 1 && sudo pear install --alldeps channel://pear.phpunit.de/PHPUnit
- echo "extension=php_mapscript.so" | sudo tee -a /etc/php5/cli/php.ini
- psql -c 'create database msautotest;' -U postgres
- psql -c 'create extension postgis;' -d msautotest -U postgres
- shp2pgsql -g the_geom msautotest/query/data/bdry_counpy2.shp bdry_counpy2 | psql -U postgres -d msautotest

install:
- ./configure --with-gd --with-postgis --with-wmsclient --with-wfsclient --with-kml --with-cairo --with-wcs --with-proj --with-geos --with-gdal --with-ogr --with-wfs --with-sos --with-php
Expand Down
2 changes: 1 addition & 1 deletion runtests.sh
Expand Up @@ -2,7 +2,7 @@

ret=0

tests=( misc gdal renderers wxs )
tests=( query )

for testcase in "${tests[@]}" ; do
cd msautotest/$testcase
Expand Down

0 comments on commit d4f4b0d

Please sign in to comment.