I am trying to build & deploy a NodeJs + Python app with Travis.
This is approximately the folder structure (everything belongs to the same repo)
Just had the same issue, it seems that some progress bar is making some issues. Try to disable it in non interactive mode:
after_success: - firebase deploy --token $FIREBASE_TOKEN --non-interactive
It solved my issue, hope it helps.