travis: postgres is not viable on osx
This commit is contained in:
parent
b9ef27c221
commit
8c7a9aed18
1 changed files with 4 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue