Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Bincrafters script to update environment variables for travis and appveyor

Project description

[![Build Status](https://travis-ci.org/bincrafters/bincrafters-envy.svg?branch=master)](https://travis-ci.org/bincrafters/bincrafters-envy)
[![Build status](https://ci.appveyor.com/api/projects/status/bb3844r6mnu7gy1g?svg=true)](https://ci.appveyor.com/project/BinCrafters/bincrafters-envy)
[![codecov](https://codecov.io/gh/bincrafters/bincrafters-envy/branch/master/graph/badge.svg)](https://codecov.io/gh/bincrafters/bincrafters-envy)
[![download](https://img.shields.io/badge/download-pypi-blue.svg)](https://pypi.org/project/bincrafters-envy)

# Bincrafters Envy

Update environment variables for travis and appveyor

#### Install
To install using pypi.org:

pip install bincrafters-envy

#### Usage
first, you'll need to obtains travis and appveyor tokens

to obtain appveyor token, visit this [page](https://ci.appveyor.com/api-keys)

to obtain travis token (for travis-ci.com), visit this [page](https://travis-ci.com/account/preferences)

to obtain travis token (for travis-ci.org), visit this [page](https://travis-ci.org/account/preferences)

create **env.ini** file with your environment variables (take a look at the **env.ini.example**):

```
[account]
appveyor = <your account name on appveyor>
travis = <your account name on travis>
github = <your account name on GitHub>
[env]
CONAN_LOGIN_USERNAME = <your username>
CONAN_PASSWORD = <your password>
[encrypted]
CONAN_PASSWORD
[token]
appveyor = <your appveyor token>
travis = <your travis token>

```

then run `python envy.py -p <project>` (e.g. `python envy.py -p conan-libastral`)

#### Testing
To run all unit tests:

cd tests
pytest -v -s --cov=bincrafters_envy

#### LICENSE
[MIT](LICENSE)

Project details


Download files

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

Files for bincrafters-envy, version 0.1.3
Filename, size File type Python version Upload date Hashes
Filename, size bincrafters_envy-0.1.3.tar.gz (7.6 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page