Change global variables to env variables in travis