Fixing issues with Travis task