Travis/Secrets
From charlesreid1
Encrypting strings
Encryption keys and encrypting strings: https://docs.travis-ci.com/user/encryption-keys/
Encrypting files
Encrypting files: https://docs.travis-ci.com/user/encrypting-files/
The short version:
- Install the travis command line tool
brew install travis - Encrypt the file with the travis command line tool
travis encrypt-file FILE - Add the openssl command given here [1] to
.travis.yml
IMPORTANT: You can only encrypt ONE file per repository, so if you have multiple files to encrypt, put them in a tar file and encrypt the tar file.