osrm-backend/.travis.yml

45 lines
1.0 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
- 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 osmosis
2014-02-12 10:22:26 -05:00
- sudo bash < <(curl -s https://gist.github.com/DennisOSRM/803a64a9178ec375069f/raw/e94c829021fe58d2868504938db2744549c75649/install-osmosis.sh)
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-01-24 04:17:57 -05:00
script: make -j 2
2014-01-23 07:44:40 -05:00
after_script:
- cd ..
2014-02-12 10:22:26 -05:00
- 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