mapnik/.travis.yml
2014-08-11 17:30:48 -07:00

33 lines
984 B
YAML

language: cpp
addons:
postgresql: "9.3"
compiler:
- clang
env:
matrix:
- XMLPARSER="libxml2"
- XMLPARSER="ptree"
before_install:
- sudo add-apt-repository -y ppa:boost-latest/ppa
- sudo add-apt-repository -y ppa:ubuntugis/ubuntugis-unstable
- sudo apt-get update -qq
- sudo apt-get install -y make valgrind libgdal-dev libgdal1-dev libgdal1h=1.10.0-1~precise1 boost1.55 python-nose libicu-dev libpng-dev libjpeg-dev libtiff-dev libwebp-dev libz-dev libfreetype6-dev libxml2-dev libproj-dev libcairo-dev python-cairo-dev libsqlite3-dev
# multi-face ttc font: https://github.com/mapnik/mapnik/issues/2274
- sudo apt-get install ttf-wqy-microhei
script:
- ./configure CXX=${CXX} CC=${CC} XML_PARSER=$XML_PARSER DEBUG=False DEMO=True BENCHMARK=False BINDINGS='python' CPP_TESTS=True CAIRO=True FAST=True
- JOBS=6 make
- make test-local
- sudo make install
- make grind
notifications:
irc:
channels:
- "irc.freenode.org#mapnik"
use_notice: true