Add circle CI setup

fixes #5506