Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #1458 from noirbizarre/travis-ci

Add Travis CI compilation
  • Loading branch information...
commit 4ccec7fc162f2c7f685cbfc167feb7274e82b743 2 parents 8f997d5 + 866256c
@springmeyer springmeyer authored
Showing with 23 additions and 8 deletions.
  1. +13 −0 .travis.yml
  2. +10 −8 README.md
View
13 .travis.yml
@@ -0,0 +1,13 @@
+language: cpp
+
+matrix:
+ include:
+ - compiler: clang
+ env: CXX_SCONS="-Qunused-arguments -fcolor-diagnostics" WARNING_CXXFLAGS="-Wno-unused-function -Wno-uninitialized -Wno-array-bounds -Wno-parentheses -Wno-char-subscripts -Wno-internal-linkage-in-inline"
+
+before_install:
+ - echo 'yes' | sudo add-apt-repository ppa:mapnik/boost
+ - sudo apt-get update -qq
+ - sudo apt-get install -qq 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 libz-dev libfreetype6-dev libxml2-dev libproj-dev libpq-dev libgdal-dev libcairomm-1.0-dev python-cairo-dev libsqlite3-dev
+
+script: scons configure JOBS=2 FAST=True CXX="$CXX $CXX_SCONS" WARNING_CXXFLAGS=$WARNING_CXXFLAGS && sudo make install && make test
View
18 README.md
@@ -1,12 +1,14 @@
-```
- _/ _/ _/ _/
- _/_/ _/_/ _/_/_/ _/_/_/ _/_/_/ _/ _/
- _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/_/
- _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/
-_/ _/ _/_/_/ _/_/_/ _/ _/ _/ _/ _/
- _/
- _/
```
+ _/ _/ _/ _/
+ _/_/ _/_/ _/_/_/ _/_/_/ _/_/_/ _/ _/
+ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/_/
+ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/
+_/ _/ _/_/_/ _/_/_/ _/ _/ _/ _/ _/
+ _/
+ _/
+```
+
+[![Build Status](https://secure.travis-ci.org/mapnik/mapnik.png)](http://travis-ci.org/mapnik/mapnik)
# What is Mapnik?
Please sign in to comment.
Something went wrong with that request. Please try again.