Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
49 lines (44 sloc) 1.04 KB
sudo: false
language: cpp
compiler:
- gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-4.8
- g++-4.8
- cmake
- cmake-curses-gui
- make
- libexpat1-dev
- zlib1g-dev
- libbz2-dev
- libsparsehash-dev
- libboost-dev
- libboost-program-options-dev
- libgdal-dev
- libgeos++-dev
- libproj-dev
- doxygen
- graphviz
install:
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi
- wget --no-check-certificate https://cmake.org/files/v3.3/cmake-3.3.2.tar.gz
- tar -xzvf cmake-3.3.2.tar.gz > /dev/null
- cd cmake-3.3.2
- ./configure --prefix=$HOME/cmake > /dev/null
- make > /dev/null
- make install
before_script:
- cd $HOME
- git clone https://github.com/osmcode/libosmium
- cd build/DisyInformationssysteme/osmotron
- mkdir -p bin
- $HOME/cmake/bin/cmake -version
- $HOME/cmake/bin/cmake -D OSMIUM_INCLUDE_DIR=$HOME/libosmium/include $HOME/build/DisyInformationssysteme/osmotron
script:
- make
- cd bin
- ./testrunner