Fix some warnings, update travis script.