2012-09-02 13:48:49 +02:00
|
|
|
language: cpp
|
|
|
|
|
2015-01-28 10:17:50 +01:00
|
|
|
sudo: false
|
2012-09-02 13:48:49 +02:00
|
|
|
|
2015-01-28 10:17:50 +01:00
|
|
|
addons:
|
|
|
|
postgresql: "9.3"
|
2014-05-23 19:33:45 +02:00
|
|
|
|
2015-01-28 10:17:50 +01:00
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- os: osx
|
|
|
|
compiler: clang
|
2015-02-02 22:38:09 +01:00
|
|
|
env: JOBS=4
|
2015-01-28 10:17:50 +01:00
|
|
|
- os: linux
|
|
|
|
compiler: clang
|
2015-02-02 22:38:09 +01:00
|
|
|
env: JOBS=4
|
2015-01-28 10:17:50 +01:00
|
|
|
- os: linux
|
|
|
|
compiler: gcc
|
2015-02-02 22:38:09 +01:00
|
|
|
env: JOBS=2
|
2014-08-22 00:28:18 +02:00
|
|
|
|
|
|
|
install:
|
2015-01-28 10:17:50 +01:00
|
|
|
- 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;
|
|
|
|
- if [[ $(uname -s) == 'Darwin' ]]; then brew install bash; export PATH="$(brew --prefix)/bin":${PATH}; fi;
|
|
|
|
- echo `which bash`
|
2014-08-13 00:56:41 +02:00
|
|
|
|
2013-01-04 21:25:07 +01:00
|
|
|
script:
|
2015-01-28 10:17:50 +01:00
|
|
|
- source bootstrap.sh
|
2015-02-03 06:41:11 +01:00
|
|
|
# also install pycairo
|
|
|
|
- wget https://gist.githubusercontent.com/springmeyer/0833fa43794838889139/raw/build_pycairo.sh && chmod +x build_pycairo.sh && ./build_pycairo.sh
|
|
|
|
- export PYTHONPATH=$(pwd)/mason_packages/.link/lib/python2.7/site-packages:${PYTHONPATH}
|
2015-01-28 10:17:50 +01:00
|
|
|
- ./configure
|
|
|
|
- cat config.log
|
|
|
|
- make
|
2015-02-02 21:27:14 +01:00
|
|
|
- make test
|
2015-02-02 22:38:09 +01:00
|
|
|
- make bench
|