Set right environment variables on travis and return to the project directory