bmwcarit / barefoot

Java map matching library for integrating the map into software and services with state-of-the-art online and offline map matching that can be used stand-alone and in the cloud.
Apache License 2.0
665 stars 186 forks source link

Add Travis CI configuration #90

Closed jongiddy closed 6 years ago

jongiddy commented 6 years ago

Create a .travis.yml file to run (a fairly close variation of) the tests described at https://github.com/bmwcarit/barefoot/wiki#testing

The code tests the Java library against JDK 7, 8, and 9. It also tests the Python map tools as a separate run.

There are some changes to shell scripts to ensure they fail with a non-zero exit code. And then some changes to make sure they don't fail in some cases, e.g. if the script is re-run on the same database.

The Postgres access file is also updated to be more robust to Docker networking configuration changes.

smattheis commented 6 years ago

Thanks a lot for setting up a CI configuration. I'm checking out the work-flow with a little PR from my fork into the master.

Do you/we still need the travis-ci and travis-ci-ext branches in the main repo?

jongiddy commented 6 years ago

Great to see it in master. The two branches can be deleted.