add travis config for 2.1.x branch

This commit is contained in:
Dane Springmeyer 2013-11-17 15:41:14 -08:00
parent 2dce39fa8f
commit e06e50a61f

20
.travis.yml Normal file
View file

@ -0,0 +1,20 @@
language: cpp
compiler:
- clang
- gcc
before_install:
- echo 'yes' | sudo add-apt-repository ppa:mapnik/boost
- sudo apt-get update -qq
- sudo apt-get install -qq make libboost-dev libboost-filesystem-dev libboost-program-options-dev libboost-python-dev libboost-regex-dev libboost-system-dev libboost-thread-dev 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 postgresql-server-dev*
script:
- ./configure CXX=${CXX} CC=${CC} DEMO=False BINDINGS='python' CAIRO=False FAST=True && JOBS=2 make
- make test-local
notifications:
irc:
channels:
- "irc.freenode.org#mapnik"
use_notice: true