Script for travis to build core-api from branch

For use whenever core-db changes depends on changes in core-api. The two
branches should have the same name.