Red Gate's SQL Data Compare can do what you need. It is not particularly expensive, especially if you buy it as part of a bundle (check out some of their other products - they have a lot of useful tools) and you get a free trial so you can see if it works for your situation before you buy it.
I have used it and it works well. It allows both comparison and snychronization of data between two databases, even if the schemas are slightly different.
For the feature "Command line automation for continuous integration" you will need the Pro edition.