adds travis and cc

Adds Travis-CI and CodeClimate