Skip to main content

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.

Source Distribution

bincrafters_envy-0.1.3.tar.gz (7.6 kB view details)

Uploaded Source

File details

Details for the file bincrafters_envy-0.1.3.tar.gz.

File metadata

  • Download URL: bincrafters_envy-0.1.3.tar.gz
  • Upload date:
  • Size: 7.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.14

File hashes

Hashes for bincrafters_envy-0.1.3.tar.gz
Algorithm Hash digest
SHA256 d50bc8be93fb78c2eb1c38c179b99fffa291f75a997c2335ba838ebef38e5aa9
MD5 4ccf576a5c58d4e248e60daae0a6e95e
BLAKE2b-256 10afb57db84cc81cf5039e174fd3b2d5c406e051756c0b7d8599d1c5ad1a16ba

See more details on using hashes here.

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