osrm-backend/.travis.yml

66 lines
1.9 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
- sudo apt-get -q install protobuf-compiler libprotoc-dev libprotobuf7 libprotobuf-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
2015-01-20 12:45:49 -05:00
- sudo apt-get install libgdal-dev
# luabind
2014-05-02 08:41:53 -04:00
- curl https://gist.githubusercontent.com/DennisOSRM/f2eb7b948e6fe1ae319e/raw/install-luabind.sh | sudo bash
# osmosis
2014-05-02 08:41:53 -04:00
- curl -s https://gist.githubusercontent.com/DennisOSRM/803a64a9178ec375069f/raw/ | sudo bash
# cmake
2014-09-15 06:14:32 -04:00
- curl -s https://gist.githubusercontent.com/DennisOSRM/5fad9bee5c7f09fd7fc9/raw/ | sudo bash
# osmpbf library
- curl -s https://gist.githubusercontent.com/DennisOSRM/13b1b4fe38a57ead850e/raw/install_osmpbf.sh | 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
2015-01-20 11:56:30 -05:00
- cmake .. $CMAKEOPTIONS -DBUILD_TOOLS=1
2014-02-14 12:17:00 -05:00
script:
- make
- make tests
- make benchmarks
2015-05-12 17:43:41 -04:00
- ./algorithm-tests
2014-10-28 09:14:43 -04:00
- ./datastructure-tests
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
- CMAKEOPTIONS="-DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=ON -DCMAKE_CXX_COMPILER=g++-4.8" OSRM_PORT=5020 OSRM_TIMEOUT=60
2013-07-31 05:17:08 -04:00
notifications:
2015-02-11 07:22:18 -05:00
slack: mapbox:4A6euphDwfxAQnhLurXbu6A1
2013-07-31 05:17:08 -04:00
irc:
channels:
- irc.oftc.net#osrm
on_success: change
on_failure: always
use_notice: true
skip_join: false
recipients:
2015-04-29 08:00:17 -04:00
- patrick@mapbox.com
2013-07-31 05:17:08 -04:00
email:
on_success: change
on_failure: always