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)
[![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
Release history Release notifications | RSS feed
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 hashes)