Write your tests in Q and commit them to sourcecontrol.�
Have the CI tool synchronize the sourcecontrol tree to your test server when needed.�
Have your CI tool execute the Q binary (licensed) and have your tests log something understandable to the CI tool.
Most CI tools are not much better than a cronned unix script doing the above and emailing any errors, though CI web interfaces are a slight improvement over email.
Tel: +44 (0)28 3025 2242
Tel: +1 (212) 447 6700
Tel: +61 (0)2 9236 5700