osrm-backend/.travis.yml

55 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:06:55 -04:00
- sudo add-apt-repository -y ppa:boost-latest/ppa
2013-07-31 05:17:08 -04:00
- sudo apt-get update >/dev/null
2014-05-21 15:31:36 -04:00
- sudo apt-get -q install libprotoc-dev libprotobuf7 libprotobuf-dev libosmpbf-dev libbz2-dev libstxxl-dev libstxxl1 libxml2-dev libzip-dev lua5.1 liblua5.1-0-dev rubygems libtbb-dev
2014-08-11 03:39:35 -04:00
- sudo apt-get -q install g++-4.8
2014-05-02 08:04:25 -04:00
- sudo apt-get install libboost1.54-all-dev
2014-05-02 08:41:53 -04:00
#luabind
- curl https://gist.githubusercontent.com/DennisOSRM/f2eb7b948e6fe1ae319e/raw/install-luabind.sh | sudo bash
#osmosis
- curl -s https://gist.githubusercontent.com/DennisOSRM/803a64a9178ec375069f/raw/ | sudo bash
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-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:
- CMAKEOPTIONS="-DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER=g++-4.8" OSRM_PORT=5000 OSRM_TIMEOUT=60
- CMAKEOPTIONS="-DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_COMPILER=g++-4.8" 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