Skip to main content

A command line application that encrypts passwords for use with Travis CI.

Project description

travis coverage dependencies codacy version status pyversions format license

Travis-Encrypt is a Python command line application that provides a way to encrypt passwords for use with Travis CI. This application intends to be a replacement for the Travis Ruby client as that client is not maintained and does not provide detail regarding password encryption.

Installation

To install Travis-Encrypt simply run the following command in a terminal window:

$ pip install travis-encrypt

If you would rather install from source, run the following commands in a terminal window:

$ git clone https://github.com/mandeep/Travis-Encrypt.git
$ cd Travis-Encrypt
$ python setup.py install

Travis-Encrypt will attempt to install the cryptography package, however the package requires headers for Python. If installation fails, please see the cryptography installation guide: https://cryptography.io/en/latest/installation/

Usage

With Travis-Encrypt installed, the command line application can be invoked with the following command and mandatory arguments:

travis-encrypt GITHUB_USERNAME REPOSITORY PATH

Example:

travis-encrypt mandeep Travis-Encrypt /home/user/.travis.yml

The application will then issue a mandatory password prompt. Once the password is filled, Travis-Encrypt will write the encrypted password to the given .travis.yml file.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

travis-encrypt-0.1.0.tar.gz (3.4 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page