Travis: fix `if` syntax in shell script.