Continuous Integration Tool with Appium and Bitbucket

We have been trying to find a CI tool which we can use for automating our builds.
But it’s really difficult to find something which integrates well with our other tools.
We need a hosted Continuous Integration tool which works with Appium, Bitbucket with Mercurial, iOS and Android. Any help would be appreciated.