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 localhost tests to Travis. #92

Merged
merged 2 commits into from
Jun 16, 2016
Merged

Add localhost tests to Travis. #92

merged 2 commits into from
Jun 16, 2016

Conversation

tswast
Copy link
Contributor

@tswast tswast commented Jun 13, 2016

Run the local servers and verify they respond with code 200 to the "/"
path.

Note: bookshelf does not yet run in Travis, since we'll need to set up
client secrets credentials.

This script will allow us to run tests against a local server for
testing. Since the App Engine and Jetty server running and testing is so
similar, I combined the scripts rather than copying. The only
differences are which plugin to use and what string to wait for before
running curl.

Since the bookshelf sample also needs a `-Plocal` profile argument, I
extended the script to allow passing through arbitrary arguments to
Maven.
Run the local servers and verify they respond with code 200 to the "/"
path.

Note: bookshelf does not yet run in Travis, since we'll need to set up
client secrets credentials.
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Jun 13, 2016
echo " $0 server-type path/to/project [-- maven arguments]" >&2
echo >&2
echo "server-type can be any of the following:" >&2
echo " appengine" >&2
Copy link
Contributor

Choose a reason for hiding this comment

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

standard or flex?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Standard. The names match those of the Maven plugins, but I suppose that could as we add more kinds of samples.

@lesv
Copy link
Contributor

lesv commented Jun 14, 2016

Consider comments, Ok if you choose not to change - LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants