osrm-backend/.travis.yml

49 lines
1.1 KiB
YAML
Raw Normal View History

2013-07-31 05:17:08 -04:00
language: cpp
compiler:
- gcc
# - clang
# Make sure CMake is installed
install:
- sudo apt-get update >/dev/null
2014-02-10 09:35:36 -05:00
- sudo apt-get -q install libprotoc-dev libprotobuf7 libprotobuf-dev libosmpbf-dev libbz2-dev libstxxl-dev libstxxl1 libxml2-dev libzip-dev libboost1.46-all-dev lua5.1 liblua5.1-0-dev libluabind-dev rubygems
2013-07-31 05:17:08 -04:00
before_script:
2014-02-10 09:35:36 -05:00
- wget http://bretth.dev.openstreetmap.org/osmosis-build/osmosis-latest.tgz
- tar xvfz osmosis-latest.tgz
- chmod a+x bin/osmosis
- bin/osmosis
- sudo ln -s /usr/bin/osmosis bin/osmosis
- rvm use 1.9.3
- gem install bundler
2013-07-31 05:22:02 -04:00
- bundle install
2013-07-31 05:17:08 -04:00
- mkdir build
- cd build
- cmake .. $CMAKEOPTIONS
2014-01-24 04:17:57 -05:00
script: make -j 2
2014-01-23 07:44:40 -05:00
after_script:
- cd ..
- cucumber -p verify
2013-07-31 05:17:08 -04:00
branches:
only:
- master
- develop
2013-12-06 04:14:42 -05:00
cache:
- bundler
- apt
env:
- CMAKEOPTIONS="-DCMAKE_BUILD_TYPE=Release"
- CMAKEOPTIONS="-DCMAKE_BUILD_TYPE=Debug"
2013-07-31 05:17:08 -04:00
notifications:
irc:
channels:
- irc.oftc.net#osrm
on_success: change
on_failure: always
use_notice: true
skip_join: false
recipients:
- dennis@mapbox.com
email:
on_success: change
on_failure: always