Restructure continuous integration.