mapnik/.travis.yml

35 lines
938 B
YAML
Raw Permalink Normal View History

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"
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
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`
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
- make test
2015-02-02 22:38:09 +01:00
- make bench