3

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 ?

2
  • Is your code already being built in docker with a Dockerfile?
    – BMitch
    Jun 18, 2016 at 15:27
  • Currently in my C.I environment I pull down the docker image from docker hub. Jun 18, 2016 at 23:57

2 Answers 2

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.

2
  • 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, 2018 at 14:04
  • Sadly dox is a dead end.
    – sorin
    Jun 23, 2021 at 10:47

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .