This is a simple script which can be called as a travis build. It will take some enviroment variables of that job and set them into all other build jobs. Feel free to fork and adjust this to your own needs.
rolivieri/travis-secrets-setter
Set all my env variables just once and replicate them over all repos
Ruby