Permalink
Browse files

Initial Travis CI configuration.

  • Loading branch information...
1 parent b8f6b16 commit 021f2939b69963c26ee1532b90be9103d6eddc80 @noirbizarre committed Sep 2, 2012
Showing with 15 additions and 0 deletions.
  1. +15 −0 .travis.yml
View
@@ -0,0 +1,15 @@
+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
+ - sudo apt-get install -qq 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
+ - sudo apt-get install -qq ccache python-nose
+
+script: scons configure JOBS=4 FAST=True CXX="ccache $CXX $CXX_SCONS" WARNING_CXXFLAGS=$WARNING_CXXFLAGS && sudo make install && make test

0 comments on commit 021f293

Please sign in to comment.