Fix Travis CI warning

Inline conditionals are not allowed