Appium + CI Integration tool

I have a base level framework for automating native application. Now I need to configure it with CI tools. What are the criteria need to satisfy for this action?

What are changes I need to do in the framework?

We are integrating the jar file of the framework into the Script Project. So what are the necessary changes can be include in my framework?

Thanks,
Sanoj