language: c

rvm:
  - "1.9.3"

compiler:
  - gcc

before_install:
 - echo "yes" | sudo add-apt-repository ppa:ubuntugis/ppa
 - echo "yes" | sudo add-apt-repository ppa:kalakris/cmake
 - sudo apt-get update -qq
 - sudo apt-get install libgeos-dev
 - sudo apt-get install cmake

before_script:
 - mkdir build
 - cd build
 - cmake -DGPKG_GEOS:BOOL=on -DGPKG_TEST:BOOL=on -DGPKG_COVERAGE:BOOL=on ..

script: make && make test

language: c

rvm:
  - "1.9.3"

compiler:
  - gcc

before_install:
 - echo "yes" | sudo add-apt-repository ppa:ubuntugis/ppa
 - echo "yes" | sudo add-apt-repository ppa:kalakris/cmake
 - sudo apt-get update -qq
 - sudo apt-get install libgeos-dev
 - sudo apt-get install cmake
 - sudo pip install cpp-coveralls --use-mirrors

before_script:
 - mkdir build
 - cd build
 - cmake -DGPKG_GEOS:BOOL=on -DGPKG_TEST:BOOL=on -DGPKG_COVERAGE:BOOL=on ..

script: make && make test

after_success:
  - coveralls -r gpkg/CMakeFiles/gpkg_ext.dir -b gpkg/CMakeFiles/gpkg_ext.dir

Add coveralls.io code coverage reporting
Add coveralls.io code coverage reporting
