How to run tests on each commit?

How to run tests on each commit? Now I can run tests only by pressing button save & go! in Tests Commands settings.