Save env variable before testing with travis