Fix missing square brackets in if-statement in Travis script.