End if else in travis bash script