Skip to content

Fix travis build #15

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 11 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,20 @@
language: cpp

compiler:
- clang
- gcc
sudo: true
matrix:
include:
- os: linux
compiler: clang
env: MAPNIK_VERSION="2.3"
- os: linux
compiler: gcc
env: MAPNIK_VERSION="2.3"

before_install:
- sudo apt-add-repository --yes ppa:mapnik/nightly-${MAPNIK_VERSION}
- sudo apt-get update -y

install:
- sudo apt-get -y install build-essential make

before_script:
- sudo apt-get -y install libmapnik2-2.0 libmapnik-dev mapnik-utils
- sudo apt-get -y install wget build-essential make libmapnik=${MAPNIK_VERSION}* mapnik-utils=${MAPNIK_VERSION}* libmapnik-dev=${MAPNIK_VERSION}* mapnik-input-plugin*=${MAPNIK_VERSION}*

script:
# workaround https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=63403 and https://bugs.launchpad.net/ubuntu/+source/cairomm/+bug/452733
Expand Down