Travis should compile project in the main step
Fix types in adapter behaviour