Added logic for travis production build