osrm-backend/.travis.yml

52 lines
1.4 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-add-repository -y ppa:ubuntu-toolchain-r/test
2014-05-02 08:04:25 -04:00
- sudo -y add-apt-repository ppa:boost-latest/ppa
2013-07-31 05:17:08 -04:00
- sudo apt-get update >/dev/null
- sudo apt-get -q install libprotoc-dev libprotobuf7 libprotobuf-dev libosmpbf-dev libbz2-dev libstxxl-dev libstxxl1 libxml2-dev libzip-dev libboost1.49-dev lua5.1 liblua5.1-0-dev libluabind-dev rubygems
- sudo apt-get -q install g++-4.7
2014-05-02 08:04:25 -04:00
- sudo apt-get install libboost1.54-all-dev
2013-07-31 05:17:08 -04:00
before_script:
- 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-05-02 06:42:51 -04:00
- curl https://gist.githubusercontent.com/DennisOSRM/35b1780f6e3f8f1e3143/raw/35ea1f4041d62f77d0cb0b14b80b089113ed5a75/boost.diff| sudo patch -p0 -N
2014-02-14 12:17:00 -05:00
script:
- make -j 2
2014-01-23 07:44:40 -05:00
- cd ..
2014-02-12 10:22:26 -05:00
- cucumber -p verify
2014-04-01 06:41:48 -04: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:
2014-05-02 05:51:02 -04:00
- CMAKEOPTIONS="-DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER=g++-4.7" OSRM_PORT=5000 OSRM_TIMEOUT=60
- CMAKEOPTIONS="-DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_COMPILER=g++-4.7" OSRM_PORT=5010 OSRM_TIMEOUT=60
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