Validate ruby files and templates and check with Travis