Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Travis CI configuration #90

Merged
merged 7 commits into from
Jun 5, 2018
Merged

Add Travis CI configuration #90

merged 7 commits into from
Jun 5, 2018

Conversation

jongiddy
Copy link
Contributor

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.

aureliojargas added a commit to aureliojargas/barefoot that referenced this pull request Mar 22, 2018
PR bmwcarit#90 will add "-o unset" to this file, so we need this variable expansion to
guard when the $JAVACMD_OPTIONS is unset.
@smattheis smattheis merged commit a154f3e into master Jun 5, 2018
@smattheis
Copy link

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
Copy link
Contributor Author

jongiddy commented Jun 5, 2018

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

@jongiddy jongiddy deleted the travis-ci branch June 5, 2018 16:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants