`travis encrypt` just prints "Code execution." and does not achieve anything

travis encrypt does not change the password in .travis.yml for me –– when I run travis encrypt, no matter what flags or options I specify, it merely prints “Code execution.” and returns me to my normal bash prompt. I tried --com, --override, tried providing the password upfront and not providing it, but the outcome is always the same. What am I doing wrong?

travis encrypt "NotMyPassword" --add deploy.password --com --override Code execution.

Answered my own question. I was using a wrong version of travis CLI, the correct version resides under ~/.gem/ruby/2.3.0/bin and mine was in python path for some reason.

Imprint