Don't display hours or categories heading when no hours or categories
Fix travis script