-
-
Notifications
You must be signed in to change notification settings - Fork 267
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
Introduce a controlled env for pex testing. #517
Introduce a controlled env for pex testing. #517
Conversation
Although this could be used as a stepping stone to containerized Travis CI, in the short term it helps me have a working test environment. The `pex.testing.ensure_python_interpreter` fails to install CPython 2.7.9, 2.7.10, etc. on Arch Linux atm.
N.B: This allows me to run
|
Also set hash labels in key-value form for better readability using docker inspect.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
dtox.sh
Outdated
|
||
exec docker run \ | ||
--tty \ | ||
--rm \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
might this need a -i
here too for e.g. pdb? or does --tty
imply that?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yup, I had not thought about interactive tox commands. Added.
Although this could be used as a stepping stone to containerized
Travis CI, in the short term it helps me have a working test
environment. The
pex.testing.ensure_python_interpreter
fails toinstall CPython 2.7.9, 2.7.10, etc. on Arch Linux atm.