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 ?

Low Kian Seong
  • 341
  • 2
  • 3
  • 10

2 Answers2

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.

Christopher Perrin
  • 4,811
  • 19
  • 33
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.

thinwybk
  • 101
  • 3
  • 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 02 '18 at 14:04
  • Sadly dox is a dead end. – sorin Jun 23 '21 at 10:47