Added use of env variable for travis