Skip to content

Commit 857a5a2

Browse files
Brian OlsenBrian Olsen
authored andcommitted
Add .travis.yml and build button
1 parent ae2ef56 commit 857a5a2

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
language: java
2+
sudo: false
3+
script: mvn clean verify

ReadMe.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# OSRM Text Instructions - Java J2V8 Wrapper
22

3+
[![Build Status](https://travis-ci.org/brianolsen87/text-instructions.svg?branch=master)](https://travis-ci.org/brianolsen87/text-instructions)
4+
35
[![Maven Central](https://img.shields.io/maven-central/v/com.github.brianolsen87/text-instructions.svg)](http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22com.github.brianolsen87%22)
46

57
This library wraps javascript functions from the [OSRM Text Instructions](https://github.com/Project-OSRM/osrm-text-instructions) library that is programmed in javascript as a java project. The osrm-text-instructions library uses the [MapBox LegStep](https://www.mapbox.com/android-docs/api/mapbox-java/libjava-services/2.2.9/com/mapbox/services/api/directions/v5/models/LegStep.html) to model the routes and compiles human readable instructions on how to follow the next direction on a route. I had the need and idea to port the node module by running a V8 instance on the JVM using the wonderful [J2V8 library](https://github.com/eclipsesource/J2V8) and allowing direct calls to the main javascript library from Java. This will make keeping up the development simple as new functionality arises.

0 commit comments

Comments
 (0)