EnergyHub interview question

How would you design a Continuous Integration system?