Travis CLI in a ruby:alpine
image.
docker pull caktux/travis-cli
docker tag caktux/travis-cli travis-cli
docker run --rm travis-cli encrypt SECRET=123 -r org/repo
docker run --rm -it -v ~/project:/project travis-cli setup pypi
docker run --rm -v ~/project:/project --entrypoint=travis-lint travis-cli /project/.travis.yml