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

#23 - Update Travis to run func tests on build #29

Merged
merged 1 commit into from
Oct 4, 2017
Merged

Conversation

iref
Copy link
Contributor

@iref iref commented Oct 4, 2017

I am not that great with bash scripting, but here is my attempt to make this work.

Travis build now runs sbt stage, that builds standalone jar and start script.
This si important because sbt run starts subprocess and we don't have its pid and can't properly terminate it. New build starts application from standalone jar, which means that SERVER_PID contains pid of application process, not sbt.

Added sbt-native-packager plugin to build standalone jar, so we don't
have deal with nested processes started by sbt.
Travis now builds jar package using native packager and than starts
build script.
Build script also waits for server to terminate after functional tests
are run.
Copy link
Owner

@pauljamescleary pauljamescleary left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looked at Travis and they seem to have run, so that works for me 👍

@pauljamescleary pauljamescleary merged commit 6d34902 into pauljamescleary:master Oct 4, 2017
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