From charlesreid1

(Created page with "==Encrypting strings== Encryption keys and encrypting strings: https://docs.travis-ci.com/user/encryption-keys/ ==Encrypting files== Encrypting files: https://docs.travis-c...")
 
Line 7: Line 7:
Encrypting files: https://docs.travis-ci.com/user/encrypting-files/
Encrypting files: https://docs.travis-ci.com/user/encrypting-files/


The short version:


* Install the travis command line tool <code>brew install travis</code>
* Encrypt the file with the travis command line tool <code>travis encrypt-file FILE</code>
* Add the openssl command given here [https://docs.travis-ci.com/user/encrypting-files/] to <code>.travis.yml</code>


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.


==Flags==
==Flags==

Revision as of 18:59, 10 March 2019

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.

Flags