2

tox allows you to test your code against different versions of Python. Is there something out there similar to tox that allows me to test my deployment code against different version of a distribution say like centos 7, 6.8, 6.5 etc ?

  • Is your code already being built in docker with a Dockerfile? – BMitch Jun 18 '16 at 15:27
  • Currently in my C.I environment I pull down the docker image from docker hub. – Low Kian Seong Jun 18 '16 at 23:57
0

In most cases you would use some kind of Continuous Integration (CI) service, mostly coupled with some kind of version control system (VCS).

An example would be GitLab with GitLab CI or Gogs with drone.io. They use Docker containers to run your code and you can run your code in containers of different distributions.

0

You could check dox. See this blog article for a short overview. In summary dox behaves like tox but instead of running virtualenvs you are using docker containers.

  • Thank you for the contribution? Could you try to incorporate the information on the links you mentioned into your answer? Links are volatile and could become dead anytime. – pacey Oct 2 '18 at 14:04

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.