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 support for traefik testing #19

Merged
merged 4 commits into from
Oct 1, 2018

Conversation

GeorgianaElena
Copy link
Member

Hi @minrk ! I added travis support to test traefik's prefix-based routing. I activated travis on my fork and the tests pass, yay! Let me know if everything works for you too. You should be able now to link travis to the outreachy upstream repo and add the build badge.

stdout=PIPE)
defaultBackend = Popen(["python", "dummyHttpServer.py",str(defaultBackendPort)],
defaultBackend = Popen(["python", dummyServerPath, str(defaultBackendPort)],
Copy link
Member

Choose a reason for hiding this comment

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

A useful trick here: use sys.executable as the first arg, then it is not sensitive to when the PATH might point to a different Python.

Copy link
Member Author

Choose a reason for hiding this comment

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

You're totally right, I've just updated the pull request. Thanks a lot for the feedback!

@minrk
Copy link
Member

minrk commented Oct 1, 2018

The test looks and works great! I left a comment about how to resolve the Python executable.

@minrk minrk merged commit 58bf5b4 into jupyterhub:master Oct 1, 2018
@minrk
Copy link
Member

minrk commented Oct 1, 2018

Awesome, thanks!

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.

2 participants