Implement continuous integration and testing

Automate building and testing. Search for possible solutions.

Edited by Alex Kanitz