This is an automated email from the git hooks/post-receive script. sebastic pushed a commit to tag v1.0.0 in repository osmium-tool.
commit 70fb845aa107cdda4886571a2b50fa20045db1d2 Author: Jochen Topf <joc...@topf.org> Date: Tue Jan 20 17:27:18 2015 +0100 Add travis and appveyor config. --- .travis.yml | 45 +++++++++++++++++++++++++++++++++++++++++++ README.md | 1 + appveyor.yml | 62 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 108 insertions(+) diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..04fccde --- /dev/null +++ b/.travis.yml @@ -0,0 +1,45 @@ +language: cpp + +compiler: + - gcc + - clang + +env: + - CONFIGURATION=Dev + - CONFIGURATION=Release + +before_install: + # we need at least g++-4.8 for c++11 features + - sudo add-apt-repository --yes ppa:ubuntu-toolchain-r/test + - sudo apt-get update --yes --quiet + +install: + # upgrade compilers + - sudo apt-get install --yes gcc-4.8 g++-4.8 + # make sure 'cpp' is the just installed current one + - sudo rm /usr/bin/cpp + - sudo ln -s /usr/bin/cpp-4.8 /usr/bin/cpp + # upgrade libosmium dependencies + - sudo apt-get install --yes make libboost-dev libboost-program-options-dev libsparsehash-dev libprotobuf-dev protobuf-compiler libgeos++-dev libproj-dev + - sudo apt-get install --yes make libgdal1h libgdal-dev + - cd .. + - git clone https://github.com/osmcode/osm-testdata.git + - git clone https://github.com/osmcode/libosmium.git + # OSMPBF is too old, install from git + #- sudo apt-get install --yes libosmpbf-dev + - git clone https://github.com/scrosby/OSM-binary.git + - cd OSM-binary/src + - make + - sudo make install + - cd ../.. + +before_script: + - true + +script: + - if [ "${CXX}" = 'g++' ]; then export CXX=g++-4.8; fi; + - mkdir build + - cd build + - cmake -LA -DCMAKE_BUILD_TYPE=${CONFIGURATION} .. + - make VERBOSE=1 + diff --git a/README.md b/README.md index d148ec8..55c764d 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,7 @@ Command line tool for working with OpenStreetMap data based on the Osmium library. +[![Build Status](https://secure.travis-ci.org/osmcode/osmium-tool.png)](http://travis-ci.org/osmcode/osmium-tool) ## Prerequisites diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 0000000..f103566 --- /dev/null +++ b/appveyor.yml @@ -0,0 +1,62 @@ +# +# Configuration for appveyor.com +# + +environment: + matrix: + - configuration: Dev + - configuration: Release + +# branches to build +branches: + # whitelist + only: + - master + +# Operating system (build VM template) +os: Visual Studio 2014 CTP4 + +# scripts that are called at very beginning, before repo cloning +init: + +# clone directory +clone_folder: c:\projects\osmium-tool + +platform: x64 + +install: + - cmake -version + - CALL "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" amd64 + - SET LODEPSDIR=c:\projects\osmium-tool\libosmium-deps + - SET PROJ_LIB=%LODEPSDIR%\proj\share + - set GDAL_DATA=%LODEPSDIR%\gdal\data + #geos.dll + - SET PATH=%LODEPSDIR%\geos\lib;%PATH% + #gdal.dll + - SET PATH=%LODEPSDIR%\gdal\lib;%PATH% + #libexpat.dll + - SET PATH=%LODEPSDIR%\expat\lib;%PATH% + #libtiff.dll + - SET PATH=%LODEPSDIR%\libtiff\lib;%PATH% + #zlibwapi.dll + - SET PATH=%LODEPSDIR%\zlib\lib;%PATH% + #convert backslashes in bzip2 path to forward slashes + #cmake cannot find it otherwise + - SET LIBBZIP2=%LODEPSDIR%\bzip2\lib\libbz2.lib + - SET LIBBZIP2=%LIBBZIP2:\=/% + - ps: Start-FileDownload https://mapnik.s3.amazonaws.com/dist/dev/libosmium-deps-win-14.0-x64.7z -FileName lodeps.7z + - 7z x lodeps.7z > nul + - echo %LODEPSDIR% + - dir %LODEPSDIR% + #- tree %LODEPSDIR% + - cd c:\projects + - git clone https://github.com/osmcode/libosmium.git + - git clone https://github.com/osmcode/osm-testdata.git + +build_script: + - cd c:\projects\osmium-tool + - mkdir build + - cd build + - cmake .. -LA -G "NMake Makefiles" -DOsmium_DEBUG=TRUE -DCMAKE_BUILD_TYPE=%CONFIGURATION% -DBOOST_ROOT=%LODEPSDIR%\boost -DBoost_PROGRAM_OPTIONS_LIBRARY=%LODEPSDIR%\boost\lib\libboost_program_options-vc140-mt-1_57.lib -DOSMPBF_LIBRARY=%LODEPSDIR%\osmpbf\lib\osmpbf.lib -DOSMPBF_INCLUDE_DIR=%LODEPSDIR%\osmpbf\include -DPROTOBUF_LIBRARY=%LODEPSDIR%\protobuf\lib\libprotobuf.lib -DPROTOBUF_LITE_LIBRARY=%LODEPSDIR%\protobuf\lib\libprotobuf-lite.lib -DPROTOBUF_INCLUDE_DIR=%LODEPSDIR%\protobu [...] + - nmake + -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/osmium-tool.git _______________________________________________ Pkg-grass-devel mailing list Pkg-grass-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel