Skip to content
This repository was archived by the owner on Jun 8, 2024. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
d90215d
Use v4.9.0 osrm-backend tag
TheMarex Dec 24, 2015
432b529
Merge pull request #130 from Project-OSRM/4.9.0
Dec 24, 2015
6dc0e36
[publish binary]
TheMarex Dec 24, 2015
6cb4c10
travis build with node version 4 and 5 on osx
ronhippler Dec 27, 2015
7139c7b
Merge pull request #131 from ronhippler/osx_node_v5
Dec 28, 2015
d9f9d48
[republish binary] Add v4/v5 for Mac OS X
TheMarex Dec 28, 2015
f41c9d5
New traffic release based on 4.9.0 [publish binary]
danpat Jan 15, 2016
19634b2
merge
Jan 15, 2016
fa88f40
merge develop
Jan 15, 2016
16ccec6
update md5
Jan 16, 2016
5aa6727
[republish binary]
Jan 16, 2016
830a194
[republish binary]
Jan 16, 2016
57ef2ff
fix [republish binary] via pull request - refs mapbox/node-pre-gyp#196
Jan 16, 2016
eb24ec4
rollback minor previous change: we version on {configuration} so it i…
Jan 16, 2016
c182abc
Point to OSRM version that includes matching_prune_factor so that we …
danpat Jan 22, 2016
0b0c2ee
[publish binary]
danpat Jan 22, 2016
2965751
Pin nvm to a known working version [publish binary]
danpat Jan 22, 2016
b61950d
Fix working directory after checking out tag. [publish binary]
danpat Jan 22, 2016
144bc3e
Use pushd/popd so that we end up back in the project working dir. [pu…
danpat Jan 22, 2016
0ba9465
New traffic build, sets matching_prune_factor properly. [publish binary]
danpat Jan 23, 2016
0253398
Expose matching_prune_factor in bindings.
danpat Jan 23, 2016
ba51cd9
[publish binary]
danpat Jan 23, 2016
a4cbf10
Fix nvm setup in parity with develop
freenerd Feb 4, 2016
a37bd4a
Add DEBUG_GEOMETRY build flag [publish binary]
freenerd Feb 4, 2016
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ matrix:
env:
global:
- JOBS: "3"
- OSRM_RELEASE: "develop"
- OSRM_RELEASE: "60a06e0ee79ab429bc1131beae13459d4bf00693"
- secure: KitzGZjoDblX/3heajcvssGz0JnJ/k02dr2tu03ksUV+6MogC3RSQudqyKY57+f8VyZrcllN/UOlJ0Q/3iG38Oz8DljC+7RZxtkVmE1SFBoOezKCdhcvWM12G3uqPs7hhrRxuUgIh0C//YXEkulUrqa2H1Aj2xeen4E3FAqEoy0=
- secure: WLGmxl6VTVWhXGm6X83GYNYzPNsvTD+9usJOKM5YBLAdG7cnOBQBNiCCUKc9OZMMZVUr3ec2/iigakH5Y8Yc+U6AlWKzlORyqWLuk4nFuoedu62x6ocQkTkuOc7mHiYhKd21xTGMYauaZRS6kugv4xkpGES2UjI2T8cjZ+LN2jU=

Expand Down
5 changes: 3 additions & 2 deletions bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ CURRENT_DIR=$(pwd)
# default to clang
CXX=${CXX:-clang++}
TARGET=${TARGET:-Release}
OSRM_RELEASE=${OSRM_RELEASE:-"develop"}
OSRM_RELEASE=${OSRM_RELEASE:-"v4.9.0"}
OSRM_REPO=${OSRM_REPO:-"https://github.com/Project-OSRM/osrm-backend.git"}
OSRM_DIR=deps/osrm-backend-${TARGET}

Expand Down Expand Up @@ -79,7 +79,8 @@ function build_osrm() {
-DCMAKE_INCLUDE_PATH=${MASON_HOME}/include \
-DCMAKE_LIBRARY_PATH=${MASON_HOME}/lib \
-DCMAKE_BUILD_TYPE=${TARGET} \
-DCMAKE_EXE_LINKER_FLAGS="${LINK_FLAGS}"
-DCMAKE_EXE_LINKER_FLAGS="${LINK_FLAGS}" \
-DDEBUG_GEOMETRY=ON
make -j${JOBS} && make install

popd
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"url": "https://github.com/Project-OSRM/node-osrm",
"homepage": "http://project-osrm.org",
"author": "Dane Springmeyer <springmeyer>",
"version": "4.9.0-develop.0",
"version": "4.9.0-traffic.5",
"main": "./lib/osrm.js",
"license": "BSD",
"bugs": {
Expand Down
2 changes: 1 addition & 1 deletion scripts/install_node.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# here we set up the node version on the fly based on the matrix value.
# This is done manually so that the build works the same on OS X
rm -rf ~/.nvm/ && git clone --depth 1 https://github.com/creationix/nvm.git ~/.nvm
rm -rf ~/.nvm/ && git clone --depth 1 --branch v0.30.1 https://github.com/creationix/nvm.git ~/.nvm
source ~/.nvm/nvm.sh
nvm install $1
nvm use $1
Expand Down
7 changes: 6 additions & 1 deletion scripts/publish.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@

./node_modules/.bin/node-pre-gyp package ${NPM_FLAGS}

COMMIT_MESSAGE=$(git show -s --format=%B $TRAVIS_COMMIT | tr -d '\n')
COMMIT_MESSAGE=$(git log --format=%B --no-merges -n 1 | tr -d '\n')
echo ${COMMIT_MESSAGE}

if [[ ${COMMIT_MESSAGE} =~ "[publish binary]" ]]; then
echo "Publishing"
./node_modules/.bin/node-pre-gyp publish ${NPM_FLAGS}
elif [[ ${COMMIT_MESSAGE} =~ "[republish binary]" ]]; then
echo "Re-Publishing"
./node_modules/.bin/node-pre-gyp unpublish publish ${NPM_FLAGS}
else
echo "Skipping publishing"
fi;
4 changes: 4 additions & 0 deletions src/node_osrm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,10 @@ void Engine::match(const Nan::FunctionCallbackInfo<v8::Value> &args)
{
params->matching_beta = obj->Get(Nan::New("matching_beta").ToLocalChecked())->NumberValue();
}
if (obj->Has(Nan::New("matching_prune_factor").ToLocalChecked()))
{
params->matching_beta = obj->Get(Nan::New("matching_prune_factor").ToLocalChecked())->NumberValue();
}

if (timestamps->IsArray())
{
Expand Down
2 changes: 1 addition & 1 deletion test/data/data.md5sum
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
db2ddaa47d4cb3f6403638c2b22c88c8 lib/access.lua
0dd83131d425cbb1b50c036a35529cfc car.lua
4782bd9723a10789b22065a531525371 car.lua
045af81d07eb9f22e5718db13cf337e4 berlin-latest.osm.pbf