adds travis

adds badge
fixes tests for travis