# need a function here to do encryption and, optionally, add encrypted env var to .travis.yml
#x <- get_encryption_key("cloudyr/travisci")$key
#x <- readLines(textConnection(x))
#k <- PKI.load.key(base64decode(paste0(x[-c(1,length(x)-1)],collapse="\n")))
#base64encode(PKI.encrypt(charToRaw("a=b"), k))
Some notes:
How travis does this: