travis: postgres is not viable on osx

This commit is contained in:
Dane Springmeyer 2015-01-26 22:47:58 -08:00
parent b9ef27c221
commit 8c7a9aed18

View file

@ -9,19 +9,20 @@ matrix:
include:
- os: osx
compiler: clang
env: JOBS=6
- os: linux
compiler: clang
env: JOBS=6
- os: linux
compiler: gcc
env: JOBS=2
install:
- psql -U postgres -c 'create database template_postgis;' -U postgres
- psql -U postgres -c 'create extension postgis;' -d template_postgis -U postgres
- if [[ $(uname -s) == 'Linux' ]]; then psql -U postgres -c 'create database template_postgis;' -U postgres; psql -U postgres -c 'create extension postgis;' -d template_postgis -U postgres; fi;
script:
- source bootstrap.sh
- ./configure
- if [[ $CXX == "g++" ]]; then JOBS=2 make; else JOBS=6 make; fi
- git clone --depth=1 https://github.com/mapbox/mapnik-test-data tests/data/mapnik-test-data
- make test
#- source localize.sh && make grind