Syntax fixes for travis